Page 71 - CloudGPT_C7_Flipbook
P. 71
1 Test Sheet
(Based on chapters 1 to 4)
A. Tick ( ) the correct option.
1. Which of the following uses drag and drop approach?
(i) Block-based coding (ii) Pseudocode
(iii) both a. and b. (iv) None of these
2. Which of the following are the examples of programming language?
(i) Python (ii) PHP
(iii) Java (iv) All 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 among the following are the uses of coding in real life?
(i) Video games (ii) Booking tickets online
(iii) Bar code scanners (iv) All of the above
5. 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
6. Which of the following is a valid variable name?
(i) @orange (ii) 1orange
(iii) orange1 (iv) orange *1
7. 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
8. Which of the following denotes the area in which a variable can be used?
(i) Boundary (ii) Vision
(iii) Scope (iv) All of these
Test Sheet 1 69

