Iteration WHILE Flashcards

(4 cards)

1
Q

What is an algorithm?

A

A set of step-by-step instructions designed to solve a problem.

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

What are the three building blocks to use when designing algorithms?

A

Sequencing, Selection and Iteration.

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

In which two ways can programs be iterated or looped?

A

Count-controlled loops
Condition-controlled loops

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