Chapter 3 Flashcards

1
Q

What are the types of control structures?

A

Sequences, decisions, and loops

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

What does a sequence control structure do?

A

A sequence control is one that comprises instructions that are to be executed sequentially one after the other.

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

What does a decision control structure do?

A

A decision control structure allows exactly one of a set of sequences to be executed.

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

What is a compound statement?

A

{
“What ever is put into these braces”
}

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