Exam MCQs Flashcards
Which number system consists of 0 and 1?
- Decimal
- Binary
- Octal
Binary
What is the base of hexadecimal number system?
- 2
- 8
- 16
16
Which encoding protocol is used for coloured images?
- CGB
- RGB
- ORG
RGB
What is a set of dots representing an image called?
- Pixel
- Bit
- Text
Pixel
How is image resolution measured?
- in ppi
- in dpi
- all of the above
All of the above
Which programming construct is used to make the sprite perform certain actions autonomously?
- event
- variable
- stage
event
Which process is used to digitize sound waves?
- sampling
- bit map
- motion
sampling
What is the binary notation of number 5?
- 0011
- 0101
- 0110
0101
In the RGB encoding system, a pixel is represented by?
- 1 byte
- single bit
- 24 bits
24 bits
What is the bit code for the ASCII character encoding standard?
- Two
- One
- Eight
eight
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.
True
False
True
False
False
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.
False
False
False
True
False
What does a parallelogram in a flowchart represent?
- Process
- Decision
- Input/output
Input/output
Which process is used to identify similarities among situations?
- Pattern recognition
- Flowchart
- Algorithm
Pattern recognition
What is implemented using the if or if-then-else statement?
- Input
- Pattern
- Selection
Selection
Which type of loop is executed for a fixed number of times?
- Infinite
- Finite
- Closed
Finite
Quick sort algorithm is considered which type of algorithm?
- Selection
- Divide and conquer
- Insertion
Divide and conquer
What does the rhombus shape represent in flowcharts?
- Decision
- Start point
- Endpoint
Decision
Which of the following characteristics distinguish algorithms?
- Small
- Abstract
- Human-readable
Human-readable
What is breaking the original problem into subproblems known as?
- Computational thinking
- Flowchart
- Stepwise refinement
Stepwise refinement
What is an example of sorting algorithm?
- Bubble
- Selection
- Both 1 and 2
Both 1 and 2
What is the first step in the quick sort algorithm?
- Split the main list into sub-lists
- Pick an element in the list as a pivot
- Merge the sub-lists to obtain result
Pick an element in the list as a pivot