MIS 505 Final Exam Review Chapter 5: Looping
The loop control variable is initialized after entering the loop.
In some cases, a loop control variable does not have to … initialized.
An indefinite loop is a loop that n
...
MIS 505 Final Exam Review Chapter 5: Looping
The loop control variable is initialized after entering the loop.
In some cases, a loop control variable does not have to … initialized.
An indefinite loop is a loop that never stops.
You can either increment or decrement the loop control variable.
When one loop appears inside another is is … an indented loop.
Forgetting to initialize and alter the loop control variable is a common mistake that programmers sometimes make.
Every high-level computer programming language contains a while statement.
Both the while loop and the for loop are examples of pretest loops.
The safest action is to assign the value 1 to accumulators before using them.
It is the programmer’s responsibility to initialize all variables that must start with a specific value.
The first step in a while loop is typically to ____.
Once your logic enters the body of a structured loop, ____.
The last step in a while loop is usually to ____.
(n) ____ loop executes a predetermined number of times.
Many loop control variable values are altered by ____, or adding to them.
A(n) ____ is any numeric variable you use to count the number of times an event has occurred.
A loop within another loop is known as a(n) ____ loop.
When one loop appears inside another, the loop that contains the other loop is ____ loop.
Usually, when you create nested loops, each loop has its own ____.
A mistake programmers often make with loops is that they ____.
A mistake programmers often make with loops is that they ____.
A comparison is correct only when the correct ____ and operator are used.
Programmers use the term ____ to describe programs that are well designed and easy to understand and maintain.
You usually use the for loop with ____ loops.
The ____ loop provides three actions in one compact statement.
The amount by which a for loop control variable changes is often ____ value.
In a ____, the loop body might never execute because the question controlling the loop might … false the first time it is asked.
In a ____, the loop body executes at least one time because the loop control variable is not tested until after one iteration.
The ____ loop is particularly useful when processing arrays.
A(n) ____ is very similar to a counter that you use to count loop iterations, except that you usually add a value other than one to this type of variable.
____ is a technique with which you try to prepare for all possible errors before they occur.
Business reports that list only totals, with no individual item details, are ____.
Loops are frequently used to ____; that is, to make sure it is meaningful and useful.
Programmers employ the acronym ____ to mean that if your input is incorrect, your output is worthless.
____ a data item means you override incorrect data by setting the variable to a specific value.
[Show More]