Standard difficulty · 20 questions · 40 marks · Time: 37 minutes
Show your working for Sections B and C. Answers are on the last page — try every question first!
Searching and Sorting · AW-9CT-SSO-2026-V1 · For parents — fold back or tear off before handing the sheet to your child.
| Q | Answer | Working |
|---|---|---|
| 1 | (d) sorted | — |
| 2 | (c) 9 | 58 is not there, so all 9 are checked |
| 3 | (b) 3 | checked: 41, 63, 51 |
| 4 | (d) 6, 22, 35, 19, 36, 47 | each pass carries the largest remaining number to its place |
| 5 | (a) 6, 24, 26, 30, 28, 38 | the 3 smallest go to the front, in order |
| 6 | (d) 4 | list after the pass: 26, 17, 27, 34, 31, 33, 37 |
| 7 | (c) 11 | halving 1,578 until one item is left: 210 ≤ 1,578 < 211 |
| 8 | (b) 1,474 | linear: 1,485; binary: 11; 1,485 − 11 |
| 9 | Binary search throws away the half that cannot hold the target; that only works if smaller items are on one side and larger on the other. | — |
| 10 | 15, 8, 31, 41, 55, 57 | swaps per pass: 4, 3, 1 |
| 11 | 17, 30, 31, 46, 35, 44 | one item fixed per pass |
| 12 | 56, 38, 26 | 3 checks |
| 13 | (a) 5; (b) 8 | 97 is not in the list, so every item is checked |
| 14 | 7 | every swap fixes one out-of-order pair; count those pairs |
| 15 | 5 | swaps per pass: 2, 2, 1, 1, 0 |
| 16 | 13 | 212 ≤ 4,230 < 213 |
| 17 | Middle (4th) is 16; 23 is larger, so search 23, 42, 50; middle is 42; 23 is smaller, so search 23; found in 3 checks. | — |
| 18 | (a) 55, 64, 58, 62; (b) 4; (c) 9 | linear: 62 is item 9 |
| 19 | (a) 35, 38, 6, 40, 51, 54; (b) 35, 6, 38, 40, 51, 54; (c) 6 | swaps in pass 1: 4 |
| 20 | (a) 3, 16, 8, 40, 13, 49, 35; (b) 3, 8, 16, 40, 13, 49, 35; (c) 6 | after n − 1 passes the last item is already in place |