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
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
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