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

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

Counter Purpose

A

To set the upper and lower bounds of the loop

Act as an index value

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

Mod operation purpose

A

To return the remainder of a division

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

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