ANSWERS
5.A Fill in the blanks
- (a) defined block of statements
- (b) { }
- (a) inside the scope
- (a) starting value
- (a) for(J=1; j<=9;j++)
- (b) for(initialise counter; test counter;increment/decremet counter)
- (a) 12
- (c) 0
- (b) do
- (a) false
- (a) entry controlled loop
- (b) ;(semicolon)
- (b) do-while
- (b) break;
- (b) exit
- (b) goto
- (a) pre-test
- (b) after
- (a) one
- (a) break
5.B true or false
1. T | 2. F | 3. T | 4. F | 5. T |
6. F | 7. T | 8. T | 9. T | 10. T |
11. T | 12. F | 13. F | 14. F |
5.C Match the following correct pairs given in Group A with Group B
- 1. C, 2. A, 3. B
- 1. B, 2. C, 3. A
- 1. C, 2. A, 3. B
- 1. B, 2. A, 3. C
- 1. B, 2. A, 3. D, 4. C
5.D Select the appropriate option from the multiple choices given below
- (a) x=0.0016
- (a) f=4
- (b) sqsum=30 ...
Get C Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.