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.
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 allPupils learn to explain the fetch–decode–execute cycle and CPU performance, and justify a choice of memory and storage for a given computer.
Pupils learn to convert between binary, denary and hexadecimal, carry out binary addition and shifts, and calculate image, sound and text file sizes with units.
Pupils learn to explain how networks, addressing and protocols move data, and match each threat to the methods that prevent it.
Written for the specifications named. Not endorsed by or affiliated with any exam board.