In which loop, the test expression is evaluated before exiting the loop?
entry controlled
for
while
do-while
Which function is used to break out of the program?
Break
continue
exit()
skip
What type of value will get when the expression of a selection statement evaluates to true?
Zero
non zero
negative
no value
Which loop is used to repeat a block of statements for specific number of times?
do while
none of these
What refers to the specified condition in a loop?
loop construct
loop control
initialization
Which operator is used as an alternative to if-else?
+
?:
%
>
In which loop, all the loop control elements are gathered in one place?
exit controlled
Which loop is preferable to execute the loop body at least once?
nested
Where does the loop variable is updated in while loop?
Inside the program
anywhere
outside loop
inside the body of while
How can we create an infinite for loop?
Omitting the test expression
omitting the update expression
omitting the initialization
omitting the loop body