Chapter 5 Fill-in-the-Blank (book)
A loop that evaluates its test expression before each repetition is a (n)____.
pre-test
When the increment or decrement operator is placed before the operand (or to the operands left), the operator is being used in ___ mode.
prefix
A(n) ____ is a sum of numbers that accumulates with each iteration of a loop.
running total
A(n) ____ is a special value that marks the end of a series of values.
sentinel
The ___ and ____ loops will not iterate at all if their test expressions are false to begin with.
while & for
A(n) ____ is a variable that is initialized to some starting value, usually zero, and then has numbers added to it in each iteration of a loop.
accumulator
The statement or block that is repeated is known as the ___ of the loop.
body
The _____ statement causes a loop to terminate immediately.
break;
The ___ statement causes a loop to skip the remaining statements in the current iteration.
continue
A(n) ____ is a variable that "counts" the number of times a loop repeats.
counter
The ____ loop always iterates at lease once.
do-while
The ___ loop is ideal for situations that require a counter.
for
To___ a value means to increase it by one, and to ___ a value means to decrease it by one.
increment decrement
A loop that does not have a way of stopping is a(n) ____ loop.
infinite
Inside the for loops parentheses, the first expression is the ___, the second expression is the ___, and the third expression is the ____.
initialize test update
Each repetition of a loop is known as a(n)
iteration
A loop that is inside another loop is called a(n) ___ loop.
nested
Each repetition of a loop that evaluates its test expression after each repetition is known as the _____
post-test loop
When the increment or decrement operator is placed after the operand ( or to the operands right), the operator is being used in ___ mode.
postfix