ScholaFly

CS01-08 Computer Science Coming soon

Binary shifts

CS01-08

This lesson is coming soon.

In this lesson

Apply a logical binary shift left or right to an 8-bit number, and state the arithmetic effect of the shift as a multiplication or division by a power of 2.

What it covers

  • A LOGICAL shift: every bit moves n places, vacated positions filled with 0
  • Shift LEFT by n multiplies by 2 to the power n; shift RIGHT by n divides by 2 to the power n
  • Bits shifted off the end are lost, and the value changes as a result
  • Stating the arithmetic effect, not just producing the new pattern
  • That AQA examines the LOGICAL shift only, and Edexcel also examines the ARITHMETIC shift

Key words

For: AQA GCSE 8525, Edexcel GCSE 1CP2, OCR GCSE J277

On the specification

BoardSpecStatement
AQA GCSE 85253.3.4Binary arithmetic
Edexcel GCSE 1CP22.1.4Binary
OCR GCSE J2771.2.4Data storage - Numbers
For teachers

This GCSE Computer Science lesson teaches binary shifts. By the end, students should be able to apply a logical binary shift left or right to an 8-bit number, and state the arithmetic effect of the shift as a multiplication or division by a power of 2. It works through three worked examples and the mistakes examiners report.