Merge sort – AQA GCSE Computer Science lesson (8525)
Pupils learn to explain and carry out a merge sort, showing the splits and merges.
Lesson 4 of 10 in unit 10.6 Protocols, Network Security and Sorting, taught in Year 10, Summer 2. It answers one big question: How does merge sort split a list and rebuild it?
By the end, pupils can explain and carry out a merge sort, showing the splits and merges.
- The Build (the main task)
- Describe the steps a merge sort follows to put a list into order. (4 marks) Complete the diagram to show every split and every merge of a merge sort on the scores. (4 marks)
- Support version
- A part-drawn split-and-merge diagram with the first splits done.
- Challenge
- Show every split and every merge of a merge sort on 60, 22, 48, 15, 37, 9, 51, 30. (4 marks) (a) Explain why merging two sorted sublists needs only one comparison for each item placed. (2 marks) (b) State the number of comparisons needed to merge 18 33 52 64 with 7 29 45 70, and show how you worked it out. (2 marks) A pupil merges 15 22 48 60 with 9 30 37 51 like this: '15 22 48 60 9 30 37 51, then I sort it.' Explain what is wrong, and show the merge done correctly, comparison by comparison. (4 marks)
- Real-world link
- Merging the two groups' leaderboards into one.
- Key words
- Merge sort, Sublist and Divide, each with a definition, an icon and a common mix-up on the key vocabulary slide.
- Misconceptions it tackles
- “Merge sort is finished once the list is split into single items”; “When merging, the sublists are just joined end to end”.
- AQA 8525 specification
- 3.1.4 (sorting algorithms: bubble sort and merge sort).
Every lesson follows the same Code & Commerce structure: a Bell Task recall starter, key vocabulary with definitions and icons, short teaching chunks with a check before pupils move on, The Build (one main task), challenge questions that get harder, and an exit question. Answers reveal one at a time on the slides, and everything is editable PowerPoint and Word.
Pupils can do it all on paper.
Also sold in the Protocols, Network Security and Sorting unit bundle, which includes the medium term plan, and in the full-year and complete-course bundles.
An independent resource written for AQA GCSE Computer Science (8525). It is not endorsed by AQA.
What's included
- Slide deck (PowerPoint)
- Lesson plan (Word)
- Worksheet (Word)
- Support worksheet with scaffolds (Word)
- Single-teacher licence: use and adapt it with your own classes
More for GCSE Computer Science (AQA)
See allPupils learn to define a network protocol and explain the purpose of TCP, IP, HTTP, HTTPS, SMTP and IMAP.
Pupils learn to explain and carry out a bubble sort, showing the list each time the order changes.
Pupils learn to name and describe the four layers of the TCP/IP model and say which protocols work at each.
Written for the specifications named. Not endorsed by or affiliated with any exam board.