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:
Premises:
Responses:
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
Premises:
Another name for a definite loop
The amount by which a loop control variable changes on each cycle
A shorthand structure for programming a definite loop
A loop that never ends
A variable that controls the execution of a while loop
The value of an uninitialized variable
Checks at the "bottom" of the loop after the first iteration
Contains an inner loop when loops are nested
A loop body with no statements in it
Responses:
counted loop
step value
for loop
infinite loop
loop control variable
garbage
do loop
outer loop
empty body
Related Questions
Q1: A(n) _ is a structure that allows
Q4: You begin a for statement with the
Q5: One execution of any loop is called
Q7: Statements in a while loop or for
Q7: A value that a user must supply
Q8: A loop for which the number of
Q11: When writing a while loop, how can
Q21: You can improve loop performance by using
Q28: Write a short program that prints Hello
Q29: When loop structures are nested, the inner