Matching
Match each term with a statement below.
Premises:
To add to a variable
A variable that you use to gather values
To decrease a variable's value
Initialized before entering a while loop
One set of instructions that operates on multiple, separate sets of data
Any numeric variable you use to count the number of times an event has occurred
The amount by which a for loop control variable changes
Loops within loops
A loop that may execute a different number of times each time the program executes
To override incorrect data by setting the variable to a specific, predetermined value
Responses:
accumulator
step value
nested loops
loop
forcing
increment
counter
indefinite
decrement
loop control variable
Correct Answer:
Premises:
Responses:
To add to a variable
A variable that you use to gather values
To decrease a variable's value
Initialized before entering a while loop
One set of instructions that operates on multiple, separate sets of data
Any numeric variable you use to count the number of times an event has occurred
The amount by which a for loop control variable changes
Loops within loops
A loop that may execute a different number of times each time the program executes
To override incorrect data by setting the variable to a specific, predetermined value
Premises:
To add to a variable
A variable that you use to gather values
To decrease a variable's value
Initialized before entering a while loop
One set of instructions that operates on multiple, separate sets of data
Any numeric variable you use to count the number of times an event has occurred
The amount by which a for loop control variable changes
Loops within loops
A loop that may execute a different number of times each time the program executes
To override incorrect data by setting the variable to a specific, predetermined value
Responses:
Related Questions
Q8: A(n)_ is any numeric variable you use
Q20: The first step in a while loop
Q25: Adding to a variable is called _
Q27: A(n)_ loop executes a predetermined number of
Q28: A mistake programmers often make with loops
Q34: In some cases,a loop control variable does
Q41: A comparison is correct only when the
Q45: It is the programmer's responsibility to initialize
Q52: In a _,the loop body might never
Q56: _ is a technique with which you