Shifts as multiplying and dividing by powers of 2
Each left shift multiplies a binary number by 2 and each right shift divides it by 2, so n shifts multiply or divide by 2^n. Bits shifted off the end are lost.
Understanding Shifts as multiplying and dividing by powers of 2 in IGCSE Computer Science Paper 1
What it does: 15 / 4 is 3 remainder 3. The two 1s shifted off the right end are lost, so the result is 3 (00000011). Each left shift multiplies by 2, so 3 shifts multiply by 2 x 2 x 2 = 2^3 = 8. Shifting left 3 places multiplies by 8, and 5 x 8 = 40. The bits move 3 places left to give 00101000. Two right shifts divide by 4, and 28 / 4 = 7. 00001110 (14) would be a shift of only 1 place. An 8-bit register cannot grow. A 1 shifted off the left end is lost, so the answer 192 x 2 = 384 is not stored correctly.
Common mistakes: 5 x 8 = 40, not 48. Three left shifts multiply by 2^3 = 8, so 5 becomes 40 (00101000). The result 3 comes from dividing by 4, which needs a RIGHT shift of 2 places. A left shift would multiply by 4. It should read 'Shift right 2 places'.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 18–27) and word search (Modules 3–27).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
n shifts = 2^nFill in the Blanks
Spot the Error
Student with a class code? Join your class →