Chapter 4 - Looping Flashcards

1
Q

A variable that is used to gather or accumulate values.

A

Accumulator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The location on your computer screen at which you enter text to communicate with the computer’s operating system.

A

Command prompt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Any numeric variable you use to count the number of times an event has occurred.

A

Counter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Subtracting from a loop control variable.

A

Decrementing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A loop in which the number of times the loop executes is predetermined.

A

Definite Loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A report used by businesses where each input record is displayed.

A

Detail reports

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

A loop in which the programmer knows exactly how many times the loop will execute.

A

for loop (for statement)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Allows users to interact with a program in a graphical environment.

A

Graphical user interface (GUI)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Adding to a loop control variable

A

Incrementing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

A loop in which the programmer does not know how many times the loop will be executed.

A

Indefinite loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Used when nesting loops; this loop is the one that is inside another loop.

A

Inner loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

A variable that is used to control how many times a loop is executed.

A

Loop control variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

When one loop is contained inside of another loop.

A

Nested loops

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Used when nesting loops; this loop is the one that contains another loop.

A

Outer loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

A number that is used to increment or decrement the control variable in a for loop.

A

Step value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

A report used by businesses where only totals are shown.

A

Summary reports

17
Q

Making sure that values fall within an acceptable or reasonable range.

A

Validate data

18
Q

The_____structure repeats actions while some conditions continues.

A

Loop

19
Q

As long as a boolean expression remains____ , a while loop’s body executes.

A

True

20
Q

When one loop is nested within another , the containing loop is the _____ loop

A

Outer