Quiz4 Flashcards
Many loop control variable values are altered by ____, or adding to them.
incrementing
Collectively, break and continue are ____ statements, because they cause program logic to “jump” out of the normal flow of control in a logical structure.
jump
If you ever find yourself in the midst of executing an infinite loop, you can break out by holding down the ____ key and pressing the C key or the Break (Pause) key.
Ctrl
You begin a for statement with the keyword ____ followed by a set of parentheses.
for
A loop for which the number of iterations is predetermined is called a(n) ____ loop.
definite
The ____ loop checks at the bottom of the loop after one repetition has occurred.
do
When you use a loop within a loop, you should always think of the ____ loop as the all-encompassing loop.
outer
Some loops are controlled by reducing, or ____, a variable and testing whether the value remains greater than some benchmark value.
decrementing
A(n) ____ loop is one in which the loop control variable is tested after the loop body executes.
posttest
With a ____ loop, you can indicate the starting value for the loop control variable, the test condition that controls loop entry, and the expression that alters the loop control variable, all in one convenient place.
for