Single lesson · Written for OCR J277

Algorithms, trace tables and Boolean logic – OCR GCSE Computer Science lesson (J277)

Pupils learn to complete trace tables, carry out and compare searching and sorting algorithms, and complete truth tables for logic diagrams.

Also in a bundle Revision – OCR GCSE Computer Science lessons (J277) 7 lessons for £28

Lesson 5 of 7 in unit 11.4 Revision, taught in Year 11, Spring 2. It answers one big question: How do I trace, compare and correct algorithms?

By the end, pupils can complete trace tables, carry out and compare searching and sorting algorithms, and complete truth tables for logic diagrams.

What happens
Bell Task: four retrieval questions on 10.3, 10.5 and 10.6. Reteach 1: searching and sorting – what each algorithm does at each step, merge sort's split and merge, and how to compare algorithms (hinge check). Reteach 2: trace tables and truth tables, modelled with one algorithm and one logic diagram, then completed as faded examples (We do, you do). Build: complete a trace table for Riverbank Libraries' overdue-fines algorithm and the truth table for the smart home hub's alarm circuit. Challenge: merge sort passes, a binary search trace and comparing two sorts.
Main task
Complete a trace table for Riverbank Libraries' overdue-fines algorithm and the truth table for the smart home hub's alarm circuit (12 marks).

Also sold in the Revision 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.