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 | |
|---|---|---|
| 1DIV(10, 3) | AReturns 3, because 3 goes into 10 three whole times and the remainder is discarded | |
| 2groups ← DIV(25, 4) | BDIV discards the fractional part, so DIV(10, 3) is 3, not 3.333. Only the / operator would give 3.333. | |
| 3DIV gives the whole number of times one integer goes into another, ignoring the remainder | COUTPUT DIV(17, 5) | |
| 4Dividing with / can give a decimal answer, but DIV always gives a whole number | D10 / 3 gives 3.333 but DIV(10, 3) gives 3 | |
| 5result ← DIV(10, 3) // result is 3.333 | EDIV does not round up. 20 goes into 50 only 2 whole times, so DIV(50, 20) is 2, not 3. | |
| 6buses ← DIV(50, 20) // buses is 3 | FStores 6 in groups, the number of whole groups of 4 that fit into 25 |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
DIV(a, b) — Returns how many whole times b goes into a, discarding any remainder. DIV(10, 3) gives 3, but 10 / 3 gives 3.333. Both values are integers.// Displays 3
OUTPUT DIV(10, 3)// 20 sweets, 4 sweets in each bag
Bags ← DIV(20, 4)DECLARE Groups : INTEGER
Groups ← DIV(10, 3)// Shows 3.3333... not a whole number
OUTPUT 10 / 3Pupils ← 25
TeamSize ← 4
Teams ← DIV(Pupils, TeamSize)