Matching
Match each term with the correct statement below.
Premises:
contains sections that initialize, evaluate, and alter a loop control variable
Responses:
while loop
pretest loop
sentinel value
loop control variable
for loop
loop body
garbage value
do-while loop
iterator
Correct Answer:
Premises:
Responses:
contains sections that initialize, evaluate, and alter a loop control variable
for loop
Premises:
contains sections that initialize, evaluate, and alter a loop control variable
Responses:
for loop
Related Questions
Q2: What types of mistakes are easy to
Q4: A _ loop is one that must
Q5: When you write a loop, what actions
Q6: The segment of code shown below displays
Q7: The body of a do-while loop executes
Q8: What happens if you fail to initialize
Q9: If you fail to initialize a loop
Q10: In C++, a(n) _ has an unknown
Q11: In the following segment of code,<br>Number =
Q33: The following loop will execute _ time(s).<br>Number