Programming Contrstucts Flashcards

1
Q

Explain Sequence

A

sequence denotes the order in which instructing are carried out by the computer.

Each statement is carried out one after the other in a sequence

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

Explain Selection

A

the sequence of instructions within a program can be changed based on the values of variables withing that program

this means that certain statements are selected based on a value

this is achieved through the use of IF statements and Boolean operators

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

Explain iteration

A

iteration is another word for repetition

Repetition is used to be carried out more than once

2 forms :conditional unconditional

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