Which loop is useful when number of repetitions is not known in advance?
a) for loop
b) while loop
c) do while loop
d) all of these
The condition of while loop is mostly…
a) operator
b) parameter
c) relational expression
d) none of these
The loop is executed when the condition remains….
a) true
b) false
c) not false
d) none of these
Which loop contains condition after body?
a) while loop
b) do while loop
c) for loop
d) none of these
Which the correct syntax is of do while loop?
a) (condition)do{}
b) do {} while(condition)
c) {}do while(condition)
d) {} (condition) do while
Which keyword indicates the beginning of the loop?
a) while
b) condition
c) do
d) none of these