<
1 2 3 4
Computer programs execute code in sequence, selectively as in loops, and repetitively as in
branching.
false
true
Counter controlled While loops are used when the number of iterations of a loop is unknown, but th
last values is known.
true
false
Sentinel controlled While loops are used when the exact number of data elements are known, so th
programmer is certain of how many times a loop must execute.
false
true
There are four types of loops that are supported in Java: While, Do... while, For and infinite.
false
true
A flag controlled While loop uses a Boolean value to control the number of looping increments.
< PREVIOUS
NEXT >
SA