mmmm – Flashcards
19 test answers
Unlock all answers in this set
Unlock answers 19question
You can either increment or decrement the loop control variable.
answer
true
Unlock the answer
question
A comparison is correct only when the correct ____ and operator are used.
answer
operands
Unlock the answer
question
A loop within another loop is known as a ____ loop.
answer
nested
Unlock the answer
question
The ____ loop provides three actions in one compact statement.
answer
for
Unlock the answer
question
In a ____, the loop body executes at least one time because the loop control variable is not tested until after one iteration.
answer
stub
Unlock the answer
question
A mistake programmers often make with loops is that they ____.
answer
b. neglect to initialize the loop control variable prior to entering the loop body
Unlock the answer
question
ANo ____ is any numeric variable you use to count the number of times an event has occurred.
answer
counter
Unlock the answer
question
When one loop appears inside another is is called an indented loop.
answer
False
Unlock the answer
question
Business reports that list only totals, with no individual item details, are called ____.
answer
SUmmary Report
Unlock the answer
question
The first step in a while loop is typically to ____.
answer
c. initialize the loop control variable Correct
Unlock the answer
question
The amount by which a for loop control variable changes is often called a ____ value.
answer
step
Unlock the answer
question
A mistake programmers often make with loops is that they ____.
answer
c. include statements inside the loop that belong outside the loop
Unlock the answer
question
A ____ loop executes a predetermined number of times.
answer
terminal
Unlock the answer
question
Once your logic enters the body of a structured loop, ____.
answer
entire loop must be executed
Unlock the answer
question
The last step in a while loop is usually to ____.
answer
b. increment the loop control variable
Unlock the answer