Question 1 of 10
What is 13 MOD 5?
- A. 0
- B. 2
- C. 3
- D. 5
What is 13 MOD 5?
Evaluate 18 / 3 + 2 * 4.
List grid holds 1, 3, 5, 7 at indexes 1 through 4. What is displayed?
p ← 3
DISPLAY (grid[p MOD 3 + 1])
What is the value of 10 + 2 * 3 - 16 MOD 6?
Which statement about MOD is true?
A rotating banner uses index ← (day MOD 3) + 1 into a list of three messages. If day is 8, which index is used?
Evaluate (7 + 1) * 2 - 3.
For which value is n MOD 4 equal to 3?
What is 27 MOD 4?
List ages holds 11, 14, 17, 20 at indexes 1 through 4. What is displayed?
r ← 19 MOD 6
DISPLAY (ages[r])