The loop is terminated when the condition becomes….
a) true
b) false
c) not false
d) none of these
Which symbol is used for body of the loop?
a) ()
b) {}
c) []
d) <>
Which loop is preferred when programmer known, how many time loop executes?
a) for loop
b) while loop
c) do while loop
d) nested loop
What is/are the correct structure of for loop?
a) for (initialization, condition, increment)
b) for (initialization, increment, condition)
c) for (increment, condition, initialization)
d) for (condition, increment, initialization)
Which loops continue execution until given condition remain true?
a) while loop
b) do while loop
c) for loop
d) none of these
What is/are the correct structure of while loop?
a) (condition)while{}
b) while(condition){}
c) {} while(condition)
d) {} (condition)while