Iterative Statements Flashcards

1
Q

is one that causes a statement or collection of statements to be executed zero, one, or more time(s).

A

iterative statement

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

An iterative statement is often called a …

A

loop

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

The … of a loop is the collection of statements whose execution is controlled by the iteration statement

A

body

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

When the test for loop completion occurs before the loop body is executed, it is referred to as …

A

pretest

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

If the test for loop completion occurs after the loop body is executed, it is called …

A

posttest

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

A counting iterative control statement has a variable called the … in which the count value is maintained

A

loop variable

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

It also includes some means of specifying the initial and terminal values of the loop variable, and the different between sequential loop variables, called the …

A

stepsize

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

The initial, terminal, and stepsize specifications of a loop are called the …

A

loop parameters

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

The repetition control of a … is based on a Boolean expression

A

logically controlled loop

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

allow programmers to choose a location for loop control other than the top or bottom of the loop body

A

user-located control loops

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

that is used to skip the rest of the loop statements on the current iteration without terminating the loop structure

A

continue

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

are loop statements for processing data structures such as linked lists, hashes, and trees

A

data-based iterators

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