O'Reilly logo

C Programming by Ashok Kamthane

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

ANSWERS

 

5.A Fill in the blanks

  1. (a) defined block of statements
  2. (b) { }
  3. (a) inside the scope
  4. (a) starting value
  5. (a) for(J=1; j<=9;j++)
  6. (b) for(initialise counter; test counter;increment/decremet counter)
  7. (a) 12
  8. (c) 0
  9. (b) do
  10. (a) false
  11. (a) entry controlled loop
  12. (b) ;(semicolon)
  13. (b) do-while
  14. (b) break;
  15. (b) exit
  16. (b) goto
  17. (a) pre-test
  18. (b) after
  19. (a) one
  20. (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. 1. C, 2. A, 3. B
  2. 1. B, 2. C, 3. A
  3. 1. C, 2. A, 3. B
  4. 1. B, 2. A, 3. C
  5. 1. B, 2. A, 3. D, 4. C

5.D Select the appropriate option from the multiple choices given below

  1. (a) x=0.0016
  2. (a) f=4
  3. (b) sqsum=30 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required