AQA 8525 · Section 3.1 · 3.1.3a
Linear
Search
Sequential searching · Best & Worst Case · AQA Pseudocode
CSZoneAQA GCSE Computer Science 8525
Visualisation
Searching for 42 in this list...
List: [7, 15, 3, 42, 9, 28]
Check 1: 7 ≠ 42 → move on
Check 2: 15 ≠ 42 → move on
Check 3: 3 ≠ 42 → move on
Check 4: 42 = 42 → FOUND at index 3! — 4 comparisons needed