Mod 10.2 Flashcards

1
Q

What should be done before starting to code a program?

A

Decide what the program should do.

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

What does a diamond shape in a flowchart indicate?

A

A decision point

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

What is the main purpose of a flowchart in programming?

A

To show the flow (sequence) of logic in a program

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

What is the main purpose of pseudocode?

A

To describe what the code will do using plain language

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

What keyword is used in pseudocode to represent a loop with a condition at its beginning?

A

WHILE

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