Question 1 of 10
What is the value of the expression 17 MOD 5?
- A. 2
- B. 3
- C. 3.4
- D. 5
What is the value of the expression 17 MOD 5?
Evaluate 4 + 3 * 2 using standard order of operations.
A list nums holds values 10, 20, 30, 40 at indexes 1 through 4. What does the segment display?
i ← 2 + 1
DISPLAY (nums[i])
Which expression equals 1?
| Label | Expression |
|---|---|
| W | 14 MOD 4 |
| X | 15 MOD 5 |
| Y | 9 MOD 2 |
| Z | 8 MOD 3 |
What is displayed?
a ← 5
b ← 2
DISPLAY ((a + 3) * b - (a MOD 3))
A checker uses n MOD 2 = 0 to detect even integers. For which n is the condition true?
Evaluate (8 - 2) / 3.
List data holds 5, 10, 15, 20, 25 at indexes 1 through 5. What is displayed?
k ← 11 MOD 4
DISPLAY (data[k])
Which expression evaluates to 9?
What is 23 MOD 7?