Title: Module 04 Quiz Loops
Course: Advance C# > Section: Module 04

Q: One execution of any loop is called a(n) ____.
- lap
- iteration
- path
- round
A: iteration

Q: A ____ loop consists of the keyword while, followed by a Boolean expression within parentheses, followed by the body of the loop.
- do
- for
- while
- do-while
A: while

Q: The evaluated Boolean expression in a while statement can be a compound expression that uses ANDs and ____.
- ORs
- NOTs
- EQUALs
- LIKEs
A: ORs

Q: Some loops are controlled by reducing, or ____, a variable and testing whether the value remains greater than some benchmark value.
- incrementing
- comparing
- decrementing
- expanding
A: decrementing

Q: With a ____ loop, you can indicate the starting value for the loop control variable, the test condition that controls loop entry, and the expression that alters the loop control variable, all in one convenient place.
- for
- do
- do-while
- while
A: for

Q: The ____ loop checks the bottom of the loop after one repetition has occurred.
- do
- for
- switch
- while
A: do

Q: The do-while loop is a(n) ____ loop.
- intest
- pretest
- posttest
- fortest
A: posttest

Q: When you use a loop within a loop, you should always think of the ____ loop as the all-encompassing loop.
- inner
- outer
- while
- for
A: outer

Q: Often totals are ____—that is, gathered together and added into a final sum by processing individual records one at a time in a loop.
- decremented
- incremented
- derived
- accumulated
A: accumulated