C++ chapter 5
A loop that evaluates its test expression after each repetition is a(n) __________ loop.
posttest loop
When the increment or decrement operator is placed before the operand (or to the operand's left), the operator is being used in __________ mode.
prefix
A loop that evaluates its test expression before each repetition is a(n) __________ loop.
pretest
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 start with.
while and 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
To __________ a value means to decrease it by one.
decrement
The __________ loop always iterates at least once.
do-while
The __________ loop is ideal for situations that require a counter.
for
To __________ a value means to increase it by one
increment
A loop that does not have a way of stopping is a(n) __________ loop.
infinite (or endless)
Inside the for loop's parentheses, the first expression is the __________ , the second expression is the __________ , and the third expression is the __________.
initialization, test, update
Each repetition of a loop is known as a(n) __________.
iteration
A loop that is inside another is called a(n) __________ loop.
nested
When the increment or decrement operator is placed after the operand (or to the operand's right), the operator is being used in __________ mode.
postfix