Programming Constructs Flashcards

(5 cards)

1
Q

Sequence

A

Running lines of code in order one after the other

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

Selection

A

A condition is used to decide whether code is executed

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

Iteration- for loop

A

Count controlled so repeats a specified number of times

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

Iteration - while

A

Condition controlled, repeats while a condition is true

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

Iteration- do until

A

Condition controlled repeats until a condition is false

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