Sequence & Selection Flashcards
What is meant by selection?
The path through a program is decided by using a condition to decide which one of a set of alternative paths to follow based on the result.
What is meant by a sequence?
Sequence of instructions to be carried out in the order they are written.
What is meant by ‘if them else’?
Not all conditions are straightforward and you have to combine more than one condition to get the outcome we require.
What is meant by a ‘nested loop’?
For example an if them else loop is nested inside another if then else loop.
What is meant by ‘case’?
Takes various paths based on the value input.
When is the case command often used?
In game controls when the action depends upon the choice of input button.