Exam MCQs Flashcards

1
Q

Which number system consists of 0 and 1?

  1. Decimal
  2. Binary
  3. Octal
A

Binary

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the base of hexadecimal number system?

  1. 2
  2. 8
  3. 16
A

16

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which encoding protocol is used for coloured images?

  1. CGB
  2. RGB
  3. ORG
A

RGB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a set of dots representing an image called?

  1. Pixel
  2. Bit
  3. Text
A

Pixel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How is image resolution measured?

  1. in ppi
  2. in dpi
  3. all of the above
A

All of the above

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which programming construct is used to make the sprite perform certain actions autonomously?

  1. event
  2. variable
  3. stage
A

event

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which process is used to digitize sound waves?

  1. sampling
  2. bit map
  3. motion
A

sampling

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the binary notation of number 5?

  1. 0011
  2. 0101
  3. 0110
A

0101

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

In the RGB encoding system, a pixel is represented by?

  1. 1 byte
  2. single bit
  3. 24 bits
A

24 bits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the bit code for the ASCII character encoding standard?

  1. Two
  2. One
  3. Eight
A

eight

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

True or false? (Unit 4)

Binary digits are patterns of 0s and 1s

To move the sprite left, use a positive x value.

The block that terminates the execution of the program is “Stop (all)”.

The protocol used for encoding black and white images is the RGB encoding protocol.

Black pixels are represented by 1s in bit map.

A

True
False
True
False
False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

True or false? (Unit 3)

In the if-then-else nothing will be executed if the answer of the condition is false.

Problems can be solved by using only one algorithm.

Finite loop is a piece of instruction that keeps executing forever as the terminating condition is never reached.

Indexes in lists start with 0.

The rectangle shape represents the start and end points in a flowchart.

A

False
False
False
True
False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does a parallelogram in a flowchart represent?

  1. Process
  2. Decision
  3. Input/output
A

Input/output

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Which process is used to identify similarities among situations?

  1. Pattern recognition
  2. Flowchart
  3. Algorithm
A

Pattern recognition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is implemented using the if or if-then-else statement?

  1. Input
  2. Pattern
  3. Selection
A

Selection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Which type of loop is executed for a fixed number of times?

  1. Infinite
  2. Finite
  3. Closed
17
Q

Quick sort algorithm is considered which type of algorithm?

  1. Selection
  2. Divide and conquer
  3. Insertion
A

Divide and conquer

18
Q

What does the rhombus shape represent in flowcharts?

  1. Decision
  2. Start point
  3. Endpoint
19
Q

Which of the following characteristics distinguish algorithms?

  1. Small
  2. Abstract
  3. Human-readable
A

Human-readable

20
Q

What is breaking the original problem into subproblems known as?

  1. Computational thinking
  2. Flowchart
  3. Stepwise refinement
A

Stepwise refinement

21
Q

What is an example of sorting algorithm?

  1. Bubble
  2. Selection
  3. Both 1 and 2
A

Both 1 and 2

22
Q

What is the first step in the quick sort algorithm?

  1. Split the main list into sub-lists
  2. Pick an element in the list as a pivot
  3. Merge the sub-lists to obtain result
A

Pick an element in the list as a pivot