Chapter 4 Questions Flashcards
(8 cards)
As long as a Boolean value remains —, a while loop body executes.
TRUE
The——structure repeats actions while some condition continues.
LOOP
An——loop is one in which the number of iterations is not known when designing the loop.
INDEFINITE
When one loop is nested within another the containing loop is the—–loop.
OUTER
The number of times a loop executes can depend on a constant or a(n)——-that varies.
VALUE
Different sorts of——-will occur if you fail to alter a loop control variable within a loop.
ERRORS
Programmers must be careful to use the correct———in the statement that controls the loop.
COMPARISON
As you become note pro efficient at programming, you will recognize many opportunities to perform the same tasks in alternate, more elegant, and more———.
EFFICIENT