ExampleExplanation
• The original number was 101 in binary which is equivalent to 5 indecimal.
• The answer after shifting to the right is 2 in decimal.
• That means by shifting one digit to the right the binary numbergets divided by 2 (5/2 = 2 in binary)
Shifting to the Left
• Shifting a binary number to the left is equivalent to multiplyingit.
• If you shift once to the left , you multiply the binary number by2
• If you shift twice to the left, you multiply the number by4
How to Shift to the Left
Example: The number is 1 0 1
INSERT a ZERO in the Least Significant Bit (LSB) 1 0 1 1 0 1 0LSB
Example Explanation
• The original number was 101 in binary which is equivalent to 5 indecimal.
• The answer after shifting to the left is 10 in decimal.
• That means by shifting one digit to the left the binary numbergets multiplied by 2 (5*2=10)
Solve: 1. (110)2 x (2)10 = ( )2
2. (1011)2 x (4)10 = ()2
Shift the followingnumbers twice to the left:
3. (111)2= ( )2
4. (1010)2= ( )2
Solve: 5. (110)2 /(2)10 = ( )2
6. (1011)2 / (4)10 = ()2
Shift the followingnumbers twice to the right:
7. (111)2= ( )2
8. (1010)2= ( )2
please give me thefull explanation for the answer