Multiple Choice
What is a requirement of the sentinel-controlled loop shared by counter-controlled loops?
A) The conditional expression must be set up prior to the loop.
B) A counter must be initialized on the outside of the loop.
C) A counter must be incremented inside the loop body.
D) The expression must evaluate to false in order for the loop to be executed.
Correct Answer:

Verified
Correct Answer:
Verified
Q19: With nested loops, the outermost loop is
Q20: A sentinel value is a(n) _. It
Q21: int counter = 0; while (counter <
Q22: The only posttest loop structure available with
Q23: The loop control structure used to move
Q25: Inside the for statement, when you place
Q26: int counter = 0; while (counter <
Q27: for (int i = 0; i <
Q28: The most appropriate sentinel value that might
Q29: Instead of requiring that a dummy value