Standard difficulty · 20 questions · 40 marks · Time: 36 minutes
Show your working for Sections B and C. Answers are on the last page — try every question first!
Algorithms: Steps, Order and Debugging · AW-6CT-ALG-2026-V1 · For parents — fold back or tear off before handing the sheet to your child.
| Q | Answer | Working |
|---|---|---|
| 1 | (d) algorithm | — |
| 2 | (c) 40 | 30 → 22 → 20 → 40 |
| 3 | (d) 23 | undo each step from the end: 414 → 138 → 46 → 23 |
| 4 | (a) a, c, d, b | Fill a pot with soil → Make a small hole in the soil → Drop the seed in and cover it → Water the pot |
| 5 | (a) 2 | step 2 should give 5, not 7 |
| 6 | (a) R | the row ends as G S R E A |
| 7 | (b) 6 | marks of 60 or more: 75, 73, 65, 81, 94, 68 |
| 8 | (c) T, N, H, B, R | carry out each instruction in order: T N H B R |
| 9 | A step-by-step set of clear instructions to solve a problem, e.g. the steps to brush your teeth. | — |
| 10 | 52 | 25 → 27 → 38 → 52 |
| 11 | 19 | undo each step from the end: 159 → 152 → 76 → 19 |
| 12 | b, a, c, d | Stop at the edge of the pavement → Look right, left and right again → Wait until the road is clear → Walk straight across |
| 13 | 3 | step 3 should give 104, not 107 |
| 14 | H, F, M, E, T | carry out each instruction in order: H F M E T |
| 15 | D | the row ends as C K J D F |
| 16 | 5 | marks of 33 or more: 96, 80, 61, 35, 92 |
| 17 | Start → Read A and B → Is A > B? → Yes: print A; No: print B → Stop. The decision is a diamond with two arrows. | — |
| 18 | (a) 78; (b) 13 | (a) 22 → 31 → 39 → 78; (b) undo each step from the end: 38 → 28 → 7 → 13 |
| 19 | (a) c, a, d, b; (b) 4 | (a) Read the first number → Read the second number → Compare the two numbers → Write down the larger one; (b) step 4 should give 106, not 116 |
| 20 | (a) D, F, A, P, M; (b) 0 | (a) carry out each instruction in order: D F A P M; (b) marks of 60 or more: none |