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 | |
|---|---|---|
| 12 + 3 * 4 | AAverage ← (Mark1 + Mark2) / 2 | |
| 2(2 + 3) * 4 | BWithout brackets, only Mark2 is divided by 2 and then added to Mark1, so this is not the average. It should be (Mark1 + Mark2) / 2. | |
| 3Brackets make the order explicit, so the addition happens before the division when finding an average of two marks | CBrackets are worked out first, so the result is 5 * 4 = 20 | |
| 4Multiplication is worked out before subtraction, so the multiplication in this expression is done first | DMultiplication comes first, so this gives 14, not 20. To get 20, write (2 + 3) * 4. | |
| 5Average ← Mark1 + Mark2 / 2 | EResult ← 10 - 2 * 3 | |
| 6Total ← (2 + 3 * 4) should give 20 | FMultiplication happens first, so the result is 2 + 12 = 14 |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
(a + b) / 2 — Brackets are worked out first, then * and / before + and -. So (a + b) / 2 adds first, then divides, giving an average. Without brackets, only b is divided by 2.Average ← (Maths + English) / 2Result ← 2 + 3 * 4
OUTPUT Result // Output is 14Average ← (Test1 + Test2 + Test3) / 3
OUTPUT AverageAverage ← (Mark1 + Mark2 + Mark3) / 3Result ← (10 - 4) / 2 // Result is 3