How many positions must the binary number 01000000 be shifted right to divide by 32 and, specify the original decimal number before the division and the resulting decimal number after the division.
SHOW WORK THANK YOU
01000000 Decimal equivalent of given binary number is
(2^7)*0+(2^6)*1+(2^5)*0+(2^4)*0+(2^3)*0+(2^2)*0+(2^1)*0+(2^0)*0 = 64
64 itself can divide by 32 64/32=2 (So number of position right shifted=0)
If you right shift by 1 position by the given binary number become 00100000 Decimal equivalent of this number is
(2^7)*0+(2^6)*0+(2^5)*1+(2^4)*0+(2^3)*0+(2^2)*0+(2^1)*0+(2^0)*0 = 32.
32 is also divisible by 32 (32/32=1) (So number of position right shifted=1)
So you can take either 1 right shift or 0 right shift both are divisible by 32.
Get Answers For Free
Most questions answered within 1 hours.