Contents

How many parameters are in for loop?
a) one                                                    

b) two
c) three                                 

d) four

c

(initialization, condition, increment/decrement)



Which specifies the starting value of counter variable?
a) initialization                  

b) condition
c) increment                                         

d) decrement

a

The statement within a loop is executed only when….is true.
a) initialization                    

b) condition
c) increment                                         

d) decrement

b

Which part of loop specifies the change in counter variable after each execution of loop?
a) both c & d                                       

b) condition
c) increment                                         

d) decrement

a

The loop is terminated when the condition becomes.
a) true                                                   

b) false
c) not false                                           

d) none of these

b

Which loop continue execution until given condition remain true?
a) while loop                                       

b) do while loop
c) for loop                                            

d) none of these

a