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 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
The statement or group of statements in {} is called.
a) while
b) condition
c) body of the loop
d) do
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