Chapter 4 Questions Flashcards

(8 cards)

0
Q

As long as a Boolean value remains —, a while loop body executes.

A

TRUE

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

The——structure repeats actions while some condition continues.

A

LOOP

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

An——loop is one in which the number of iterations is not known when designing the loop.

A

INDEFINITE

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

When one loop is nested within another the containing loop is the—–loop.

A

OUTER

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

The number of times a loop executes can depend on a constant or a(n)——-that varies.

A

VALUE

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

Different sorts of——-will occur if you fail to alter a loop control variable within a loop.

A

ERRORS

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

Programmers must be careful to use the correct———in the statement that controls the loop.

A

COMPARISON

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

As you become note pro efficient at programming, you will recognize many opportunities to perform the same tasks in alternate, more elegant, and more———.

A

EFFICIENT

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