Contents

Which statement terminates the execution of the loop?
a) default                             
b) break
c) none of these  
d) loop

b

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

c

Which statement control shift back to the beginning of the loop?
a) default                             
b) break
c) continue                           
d) loop

c

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

Statements can only be used inside the body of loop is called…
a) if                                        
b) break
c) continue                           
d) switch

c