Single lesson · Written for OCR J277

Binary shifts – OCR GCSE Computer Science lesson (J277)

Pupils learn to carry out left and right binary shifts on 8-bit numbers, state their effect, and explain what happens when bits are lost.

Also in a bundle Binary, Boolean Logic and Iteration – OCR GCSE Computer Science lessons (J277) 11 lessons for £39 · save 11% on buying separately

Lesson 6 of 11 in unit 10.3 Binary, Boolean Logic and Iteration, taught in Year 10, Spring 1. It answers one big question: How can sliding the bits multiply or divide a number?

By the end, pupils can carry out left and right binary shifts on 8-bit numbers, state their effect, and explain what happens when bits are lost.

The Build (the main task)
Complete three binary shifts on 8-bit sensor values – a) 00010110 left 2, b) 01101000 right 1, c) 00100101 left 3. State the denary value before and after each, the effect (multiply or divide by what), and explain why c gives the wrong answer.
Support version
Part-filled shift grids: each number is in an 8-bit grid with arrows showing the direction and an empty grid below, and the first shift's denary values are given.
Challenge
Explain why shifting 00000111 right by 1 gives 3 and not 3.5.
Real-world link
A smart sensor's chip doubles or halves readings by shifting bits – much faster than multiplying.
Key words
Binary shift, Most significant bit (MSB) and Multiply, each with a definition, an icon and a common mix-up on the key vocabulary slide.
Misconceptions it tackles
“A left shift divides by 2 and a right shift multiplies by 2”; “A shift of 2 places multiplies by 2”.
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 all

Written for the specifications named. Not endorsed by or affiliated with any exam board.