Hexadecimal and binary shifts – Year 9 Computing lesson
Pupils learn to convert between 8-bit binary, denary and hexadecimal, and carry out left and right binary shifts.
Lesson 4 of 6 in unit 9.4 Inside the CPU, taught in Year 9, Spring 2. It answers one big question: Why do computer scientists write binary numbers in hexadecimal?
By the end, pupils can convert between 8-bit binary, denary and hexadecimal, and carry out left and right binary shifts.
- The Build (the main task)
- Complete a table converting five values from a phone's settings between binary, hex and denary, then carry out two binary shifts.
- Support version
- Part-filled conversion table: each byte is already split into two nibbles, with 8 4 2 1 headings and the hex digits 0–F printed beneath.
- Challenge
- Shift 00000101 right by 1 and explain why the answer is 2, not 2.5.
- Real-world link
- Phone colour codes such as #1C6E8C and memory addresses are written in hex, and processors multiply by 2 with a shift.
- Key words
- Hexadecimal, Binary shift and Shorthand, each with a definition, an icon and a common mix-up on the key vocabulary slide.
- Misconceptions it tackles
- “Computers use hexadecimal because they process it more easily than binary”; “A left shift divides by 2 and a right shift multiplies by 2”.
- National Curriculum
- NC6 (how instructions are stored and executed; text, sound and pictures as binary); NC4 (boolean logic (AND, OR, NOT) in circuits and programming; binary numbers, addition and conversion).
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 Inside the CPU 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 KS3 Computing
See allPupils learn to describe how the PC, MAR and MDR are used to fetch an instruction, and trace their values in a trace table.
Free sample lessonPupils learn to explain why a CPU only runs machine code and translate LMC instructions between assembly language and machine code.
Pupils learn to write and trace LMC programs using INP, OUT, LDA, STA, ADD, SUB and HLT, recording the accumulator.
Written for the specifications named. Not endorsed by or affiliated with any exam board.