Binary addition and overflow – OCR GCSE Computer Science lesson (J277)
Pupils learn to add two 8-bit binary numbers using carries and explain when and why an overflow error happens.
Lesson 4 of 11 in unit 10.3 Binary, Boolean Logic and Iteration, taught in Year 10, Spring 1. It answers one big question: What happens when a binary sum is too big to fit?
By the end, pupils can add two 8-bit binary numbers using carries and explain when and why an overflow error happens.
- The Build (the main task)
- Complete three 8-bit binary additions of smart meter readings, showing every carry: a) 00110101 + 00011010, b) 01101110 + 00101011, c) 10110100 + 01100011. Then explain which one causes an overflow error and why.
- Support version
- Part-filled additions: the carry row is started for each sum, with a reminder card of the four binary addition rules (0+0, 1+0, 1+1, 1+1+1).
- Challenge
- Explain why an overflow error in a step counter might show 4 steps after 260 steps, using binary.
- Real-world link
- A smart energy meter adds up readings in an 8-bit counter – until the total no longer fits.
- Key words
- Binary addition, Overflow error and Exceed, each with a definition, an icon and a common mix-up on the key vocabulary slide.
- Misconceptions it tackles
- “1 + 1 in binary is 2”; “1 + 1 + 1 (with a carry) is 0 carry 1, or 11 written in the column”.
- OCR J277 specification
- 1.2.4 (data storage – numbers: converting between denary, 8-bit binary and 2-digit hexadecimal; adding two 8-bit binary numbers and overflow errors; binary shifts).
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 Binary, Boolean Logic and Iteration 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 order the units of data from bit to petabyte and convert between them, stating why all data is stored in binary.
Free sample lessonPupils learn to trace and write FOR loops that use range() with a start, stop and step, and use the loop variable inside the loop.
Pupils learn to convert between denary numbers from 0 to 255 and 8-bit binary using place values.
Written for the specifications named. Not endorsed by or affiliated with any exam board.