Contents

The condition of while loop is mostly
a) operator                  
b) parameter
c) relational expression
d) none of these

c

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

a

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

b

Which keyword indicates 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) body of the loop      
d) do

c

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