Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1Hours ← DIV(135, 60) | ADIV was used to find the items left over. DIV gives 4 full boxes, but the leftover items need MOD, which gives 2. | |
| 2Left ← MOD(135, 60) | BFinds the minutes left over after taking out whole hours, which is 15 | |
| 3To find how many full boxes of 12 are needed for 50 items, use DIV with the total and the box size | CFullBoxes ← DIV(50, 12) | |
| 4To find how many cents remain after taking out whole dollars from 275 cents, use MOD with the total and 100 | DCents ← MOD(275, 100) | |
| 5Hours ← MOD(200, 60) | EMOD was used to find the whole hours. MOD gives the remainder (20), but whole hours need DIV, which gives 3. | |
| 6Spare ← DIV(50, 12) | FFinds the number of whole hours in 135 minutes, which is 2 |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
DIV(Total, Size) and MOD(Total, Size) — DIV gives how many whole groups fit in the total, MOD gives what is left over. Together they split a total into whole units plus a remainder. E.g. 135 minutes is 2 hours 15.Hours ← DIV(TotalMinutes, 60)Minutes ← MOD(TotalMinutes, 60)Dollars ← DIV(Cents, 100)CONSTANT BoxSize ← 12
Boxes ← DIV(Items, BoxSize)
Left ← MOD(Items, BoxSize)Items ← 50
Boxes ← DIV(Items, 12)
OUTPUT "Full boxes: ", Boxes