Logical left shift
Moves every bit one place left. The leftmost bit falls off and is lost, and a 0 fills the empty place on the right. In 8 bits, 00000101 becomes 00001010.
Understanding Logical left shift in IGCSE Computer Science Paper 1
What it does: The bits move left and a 0 fills the right-hand end, so 00010111 becomes 00101110 and ends in 0. The leading 1 of 10110001 falls off the left end and is lost, leaving 0110001 with a 0 added on the right. Zeros always come in on the right during a logical left shift. Left shift means each bit moves one place towards the left end. The leftmost 1 is lost and a 0 fills the right end, giving 10000110, not 10000111.
Common mistakes: An 8-bit register holds exactly 8 bits. 0000101 has only 7 bits. The register should be 00000101. << is the left shift operator. >> shifts right. The line should be x = x << 1.
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
logical left shiftFill in the Blanks
Spot the Error
Student with a class code? Join your class →