Reference Language Flashcards
1
Q
STEP command purpose
A
To set a value which the loop will iterate over
Eg 3 would mean that all multiples of 3 are iterated over
2
Q
Counter Purpose
A
To set the upper and lower bounds of the loop
Act as an index value
3
Q
Mod operation purpose
A
To return the remainder of a division
4
Q
Logical Operator examples and where they are used
A
AND, OR, NOT
Usually used as part of an IF statement or conditional loop