Contents

The loop is executed when the condition remains….
a) true                                   
b) false
c) not false                           
d) none of these

a

Which loops contain condition after body?
a) while loop                        
b) do while loop
c) for loop                            
d) none of these

b

Which is the correct syntax of do while loop?
a) (condition)do{}              
b) do {} while(condition)
c) {}do while(condition)                                    
d) {} (condition) do while

b

Which keywords indicate the beginning of the loop?
a) while                                 
b) condition
c) do                                      
d) none of these

c

The statement or group of statements in {} is called.
a) while                                 
b) condition
c) do                                      
d) body of the loop

d

Which loop is preferred when programmer want at least once loop executes?
a) for loop                            
b) while loop
c) do while loop  
d) nested loop

c