Menu

Binary Shifts

Card 1 of 15 0 got it 0 still learning
Question
TapClick or press space to see the answer
Answer
Binary Shifts exam questions6 questions with mark schemes and example answers
All 15 cards in this set
What is the primary effect of a left binary shift on a number's value?
Doubles the value
What happens to a number's value when a right binary shift is applied?
Halves the value
What is 'overflow' in the context of binary shifts?
When a bit shifts beyond the size of the number representation
In an 8-bit binary number, what happens when a left shift causes the most significant bit to fall off?
Overflow occurs
What is the effect of two consecutive left shifts on a binary number?
The value is quadrupled
Perform a left shift on the binary number 01101010
11010100
Perform a right shift on the binary number 10110011
01011001
What is the result of two left shifts on the binary number 00110001?
11000100
Perform a right shift on the binary number 00010110
00001011
What is the result of performing three left shifts on the binary number 10010001?
10001000
After a right shift, what is the new value of the binary number 01101100?
00110110
Perform two right shifts on the binary number 11001100
00110011
What is the binary number 01010101 after one left shift?
10101010
Perform three right shifts on the binary number 11100000
00011100
What is the result of one left shift on the binary number 00110111?
01101110