668 views
1 votes
1 votes

a) Shifting a Unsigned integer right by one bit, and filling from the left with 0, is always equivalent to dividing by 2. (True/False)

b) Shifting a Unsigned integer left by one bit, and filling from the right with 0, is always equivalent to multiplying by 2. (True/False)

Please log in or register to answer this question.

Related questions

1 votes
1 votes
1 answer
2
Meenakshi Sharma asked Oct 22, 2016
5,082 views
what is the differernce between logical shift left (or right) and arithmetic shift left (or right)e.g if IN SOME REGISTER 10100110 IS STORED THEN WHAT WILL BE THE RESUL...
0 votes
0 votes
1 answer
3
Ravi prakash pandey asked Mar 17, 2018
923 views
Why left shift operator does't preserve its sign bit??I think not preserving sign bit is meaning less.
0 votes
0 votes
1 answer
4