Binary Shifts (AQA GCSE Computer Science): Flashcards

📚Flashcards
Binary Shifts
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

12 cards from this deck

Show

Binary shift

Moving binary digits left or right

Purpose of binary shifts

Quick way to multiply/divide by powers of 2

Effect of ONE left shift

Multiplies the number by 2

Effect of nn left shifts

Multiply by 2n2^n

Effect of ONE right shift

Divides the number by 2

Effect of nn right shifts

Divide by 2n2^n

1 left shift multiplies by

21=22^1 = 2

2 left shifts multiply by

22=42^2 = 4

1 right shift divides by

21=22^1 = 2

2 right shifts divide by

22=42^2 = 4

Problem with right shifts

Lose remainders when digits fall off the right end

Speed of binary shifts

Extremely fast operations for computers

Join 100,000+ GCSE students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.