Solved

Match Each Item with a Statement Below

Question 2

Matching

Match each item with a statement below:

Premises:
A loop that never ends
The value of an uninitialized variable
Another name for a definite loop
The amount by which a loop control variable changes on each cycle
Checks at the "bottom" of the loop after the first iteration
Contains an inner loop when loops are nested
A variable that controls the execution of a while loop
A shorthand structure for programming a definite loop
A loop body with no statements in it
Responses:
garbage
outer loop
loop control variable
do loop
for loop
empty body
counted loop
infinite loop
step value

Correct Answer:

Another name for a definite loop
counted loop
The amount by which a loop control variable changes on each cycle
step value
A shorthand structure for programming a definite loop
for loop
A loop that never ends
infinite loop
A variable that controls the execution of a while loop
loop control variable
The value of an uninitialized variable
garbage
Checks at the "bottom" of the loop after the first iteration
do loop
Contains an inner loop when loops are nested
outer loop
A loop body with no statements in it
empty body
Related Questions