Chapter Three Flashcards

1
Q

Spaghetti Code

A

Is snarled, unstructured program logic.

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

Unstructured Programs

A

Are programs that do not follow the rules if structured logic.

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

Structured Programs

A

Are programs that do follow the rules of structured logic.

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

Sequence Structure

A

Contains series of steps executed in order. A sequence can contain any number of tasks but there is no option to branch off skipping any of the tasks.

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

Selection structure or Decision Structure

A

Contains a question and depending on the answer takes one of two courses of action before continuing with the next task.

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

End Structure Statement

A

Designates the end of a pseudocode Structure.

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

If then else

A

Is another name for a dual alternative selection Structure.

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

Dual alternative ifs or dual alternative selections

A

Define one action to be taken when the tested condition is true and another action to be taken when it is false

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

Single alternative ifs or single alternative selections

A

Take action on just one branch of the Decision.

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

Null case or bull branch

A

Is the branch of a Decision in which no action is taken.

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

Loop Structure

A

Continues to repeat actions while a test condition remains true.

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

Loop body

A

Is the set of actions that occur within a loop.

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

While loop

A

Is a Structure that continues to repeat a process while some condition remains true.

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

Repetition and iteration

A

Are alternate names for a loop Structure.

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

While…do loop

A

Is an alternate name for a while loop.

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

Stacking structures

A

Is the act of attaching structures end to end.

17
Q

Nesting structures

A

Is the act of placing a Structure within another Structure.

18
Q

Block

A

Is a group of statements that executes as a single unit.

19
Q

Priming input or priming read

A

Is the statement that reads the first input prior to starting a structured loop that uses the data.

20
Q

Goto-less programming

A

Is a name to describe structured programming because structured programmers do not use a “go to” Statement.