Chapter 4 - Loops Flashcards

0
Q

As long as the condition remains true, the statements inside the loop statement are executed.

A

Body

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

A sequence of instructions that is executed repeatedly.

A

Loop

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

Bounds that include the starting index but not the ending index.

A

Asymmetric bounds

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

Bounds that include the starting index and the ending index.

A

Symmetric bounds

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

A loop whose termination condition decision is neither at the beginning nor at the end.

A

Loop and a half

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

A value in input that is not to be used as an actual input value but to signal the end of input.

A

Sentinel

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