Page 71 - CloudGPT_C8_Flipbook
P. 71
1 Test Sheet
(Based on chapters 1 to 4)
A. Tick ( ) the correct option.
1. Which of the following device control the traffic?
(i) Vehicle (ii) Traffic light
(iii) Bar code scanners (iv) None of these
2. Which of the following uses drag and drop approach?
(i) Block-based coding (ii) Pseudocode
(iii) both a. and b. (iv) None of these
3. Which of the following has the same meaning as X++?
(i) X=X+1 (ii) X=+2
(iii) y-=4 (iv) X=x-6
4. Which of the following denotes the area in which a variable can be used?
(i) Boundary (ii) Vision
(iii) Scope (iv) All of these
5. Which of the following are the examples of programming language?
(i) Python (ii) PHP
(iii) Java (iv) All of these
6. Which of the following refers to a raw program without any syntax?
(i) Algorithm (ii) Flowchart
(iii) Pseudocode (iv) None of these
7. Which operator gives true as a result and is used if the statement evaluates true only if one of the
expressions is true?
(i) AND (ii) NOT
(iii) OR (iv) If-else
8. What does the green colour in traffic light indicate?
(i) Stop traffic (ii) Signal is going to change to red
(iii) To go (iv) None of these
Test Sheet 1 69

