Binary and denary conversion – OCR GCSE Computer Science lesson (J277)
Pupils learn to convert between denary numbers from 0 to 255 and 8-bit binary using place values.
Lesson 3 of 11 in unit 10.3 Binary, Boolean Logic and Iteration, taught in Year 10, Spring 1. It answers one big question: How does a computer write any number using only 0 and 1?
By the end, pupils can convert between denary numbers from 0 to 255 and 8-bit binary using place values.
- The Build (the main task)
- Complete four thermostat conversions: denary 19 and 22 into 8-bit binary, and binary 00010101 and 11111111 into denary, showing the place values for each.
- Support version
- Part-filled place-value grids (128 to 1) for each number, with the first conversion done and the second started.
- Challenge
- Explain why the largest number 8 bits can hold is 255, and how many different values 8 bits can store.
- Real-world link
- The thermostat stores every temperature it reads, such as 19 °C, as an 8-bit binary number.
- Key words
- Binary, Denary and Convert, each with a definition, an icon and a common mix-up on the key vocabulary slide.
- Misconceptions it tackles
- “Place values go 1, 2, 4, 8 … from left to right”; “The binary number 10 means ten”.
- 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 add two 8-bit binary numbers using carries and explain when and why an overflow error happens.
Written for the specifications named. Not endorsed by or affiliated with any exam board.