Binary Shifts (AQA GCSE Computer Science): Flashcards
📚Flashcards
Practise the cards
12 cards from this deck
ShowHide
Practise the cards
12 cards from this deck
Binary shift
Binary shift
Moving binary digits left or right
Purpose of binary shifts
Purpose of binary shifts
Quick way to multiply/divide by powers of 2
Effect of ONE left shift
Effect of ONE left shift
Multiplies the number by 2
Effect of left shifts
Effect of left shifts
Multiply by
Effect of ONE right shift
Effect of ONE right shift
Divides the number by 2
Effect of right shifts
Effect of right shifts
Divide by
1 left shift multiplies by
1 left shift multiplies by
2 left shifts multiply by
2 left shifts multiply by
1 right shift divides by
1 right shift divides by
2 right shifts divide by
2 right shifts divide by
Problem with right shifts
Problem with right shifts
Lose remainders when digits fall off the right end
Speed of binary shifts
Speed of binary shifts
Extremely fast operations for computers
