Matching
Match each term with the correct statement below.
Premises:
value that determines when a loop will end
Responses:
pretest loop
while loop
do-while loop
loop control variable
sentinel value
garbage value
loop body
iterator
for loop
Correct Answer:
Premises:
Responses:
pretest loop
while loop
do-while loop
loop control variable
sentinel value
garbage value
loop body
iterator
for loop
Premises:
pretest loop
while loop
do-while loop
loop control variable
sentinel value
garbage value
loop body
iterator
for loop
Responses:
Related Questions
Q31: What common pitfall can you identify in
Q32: When should the loop control variable be
Q33: The following loop will execute _ time(s).<br>Number
Q34: When you place another loop within a
Q35: In the following segment of code,<br>Number =
Q37: As a custom, many programmers use the
Q38: In what situations would you typically use
Q39: The initialize portion of a for loop
Q40: Match each term with the correct statement
Q41: Write a program that projects sales goals