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 | |
|---|---|---|
| 1Answer ← Score * 100 / MaxMark | AResult ← 10 / 5 | |
| 2Answer ← Pi * Radius ^ 2 | BTotal ← 2 + 3 * 4 | |
| 3Multiplication and division are worked out before addition and subtraction, so this gives 14, not 20 | C** is Python-style power notation. Pseudocode uses ^ to raise to a power, so it should be Volume ← Side ^ 3. | |
| 4Division with / always gives a REAL result, even when the numbers divide exactly | DThe letter x is used for multiplication. Pseudocode uses * to multiply, so it should be Area ← Side * Side. | |
| 5Area ← Side x Side | EWorks out a percentage: Score is multiplied by 100, then divided by MaxMark, and the result is stored in Answer | |
| 6Volume ← Side ** 3 | FSquares Radius first, then multiplies the result by Pi (the area of a circle) |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
+ - * / ^ — Pseudocode arithmetic operators: add, subtract, multiply, divide and ^ for power. Power, * and / are worked out before + and -. Division always gives a REAL result.Answer ← Score * 100 / MaxMarkArea ← Pi * Radius ^ 2Answer ← Score * 100 / MaxMark
// Answer is always a REAL// 3 * 4 is done first, so Result is 14
Result ← 2 + 3 * 4// Subtract the cost from the money paid
Change ← Paid - Cost