Contents

Where continue statement is used?
a) outside body
b) inside body
c) before body                     
d) after body

b

Which of the following correct syntax of continue statement?
a) continue()                        
b) continue:
c) continue;                         
d) continue>

c

Which is correct, when the programmer wants to execute loop at least once?
a) while loop                        
b) do while loop
c) for loop                            
d) none of these

b

In do-while, the loop condition is terminated with……
a) colon                                
b) semicolon
c) comma                             
d) none of these

b

A loop within another loop is called….
a) for loop                            
b) while loop
c) do while loop   
d) nested loop

d

Which of the following is correct format of nested loop?
a) outer loop (inner loop)                  
b) outer loop {inner loop}
c) outer loop [inner loop]   
d) none of these

b