Chapter 4 - Looping Flashcards
A variable that is used to gather or accumulate values.
Accumulator
The location on your computer screen at which you enter text to communicate with the computer’s operating system.
Command prompt
Any numeric variable you use to count the number of times an event has occurred.
Counter
Subtracting from a loop control variable.
Decrementing
A loop in which the number of times the loop executes is predetermined.
Definite Loop
A report used by businesses where each input record is displayed.
Detail reports
A loop in which the programmer knows exactly how many times the loop will execute.
for loop (for statement)
Allows users to interact with a program in a graphical environment.
Graphical user interface (GUI)
Adding to a loop control variable
Incrementing
A loop in which the programmer does not know how many times the loop will be executed.
Indefinite loop
Used when nesting loops; this loop is the one that is inside another loop.
Inner loop
A variable that is used to control how many times a loop is executed.
Loop control variable
When one loop is contained inside of another loop.
Nested loops
Used when nesting loops; this loop is the one that contains another loop.
Outer loop
A number that is used to increment or decrement the control variable in a for loop.
Step value