Selection Flashcards
1
Q
What is addition, Subtraction and Multiplication
A
+, -, *
2
Q
What is real divison
A
/
It outputs the whole number
3
Q
What is integer division
A
// It outputs the number as a whole number
4
Q
What is Modulo (MOD)
A
%
It is used to work out the remainder of the division
5
Q
What are the 3 logical operators
A
And, Or, Not
6
Q
NOT operator
A
has the highest precedence and is applied first e.g. Use an umbrella when raining but not cold
7
Q
AND
A
Wear a coat if raining AND cold. Both parts have to be true
8
Q
OR
A
Catch a bus if it is raining or cold
9
Q
What is selection
A
Determines what path a program takes when running