Single lesson · Written for OCR J277

Merge sort – OCR GCSE Computer Science lesson (J277)

Pupils learn to carry out a merge sort on up to eight items, showing every split into sublists and every merge back in order.

Also in a bundle Protocols and Sorting – OCR GCSE Computer Science lessons (J277) 11 lessons for £39 · save 11% on buying separately

Lesson 4 of 11 in unit 10.6 Protocols 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 carry out a merge sort on up to eight items, showing every split into sublists and every merge back in order.

The Build (the main task)
Complete a merge sort diagram for the eight finishing times 52, 38, 61, 45, 29, 70, 33, 48, showing every split into sublists and every merge.
Support version
Part-filled diagram: every split is drawn, and the first two merges are done.
Challenge
Count the comparisons needed to merge two sorted sublists of four, and explain why merging is quick.
Real-world link
The time-trial finishing times must be put in order to award the prizes.
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
“The list is sorted once it has been split”; “Merge sort splits by value: smaller items left, bigger items right”.
OCR J277 specification
2.1.3 (sorting algorithms: the main steps of bubble sort, merge sort and insertion sort, applying each to a data set and recognising each from its code).

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 and Sorting unit bundle, which includes the medium term plan, and in the full-year and complete-course bundles.

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 (OCR)

See all

Written for the specifications named. Not endorsed by or affiliated with any exam board.