Chapter 3 Flashcards

1
Q

Control Structure

A

Logical design that controls the order in which a set of statements execute.

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

Sequence Structure

A

Set of statements that execute in the order of which they appear.

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

Decision Structure

A

Can execute a set of statements only under certain circumstances.

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

Conditionally Executed

A

Performed only when a certain condition is true.

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

Single alternative decision structure

A

Provides only one alternative path of execution.

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

If the diamond symbol is true we take the alternative path
T OR F

A

T

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

A colon appears after the condition.
T OR F

A

True

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

A block

A

Simply set of statements that belong together as a group.

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

A relational operator

A

Determines whether a specific relationship exists between two values.

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

List the relational operators:

A

greater than
less than
greater than or equal to

equal to
not equal to

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

What is the sign of the equality operator?

A

==

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

What is the sign of the assignment operator?

A

=

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

What is a Boolean expression?

A

The expressions tested by the if statements.

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