bibianmood3746 bibianmood3746
  • 02-07-2020
  • Computers and Technology
contestada

The value 5 is stored in a signed (2's complement) integer. The bits are shifted 4 places to the right. What is the resultant value (in decimal)? 0.3125

Respuesta :

ogbe2k3
ogbe2k3 ogbe2k3
  • 08-07-2020

Answer:

The resultant value is 0

Explanation:

Solution

Given that:

Now

The +5 representation in signed 2's complement integer: 00000101

Thus

When we right shift then, 4 rightmost bit (0101) will be dropped.

The number after 4-bit right shift: 00000000

Therefore the resultant value after 4-bit right shift is "0" in decimal.

Answer Link

Otras preguntas

If f(1) = 160 and f(n + 1) = –2f(n), what is f(4)?
The sum of 10 and a number y is equal to 18
Michael Jordan has a career average of 30.4 points per game fact or opinion
Please answer these questions as soon as possible!!! If done by Wed i will award you 25 points! And don't answer something silly just for the points or you will
School starts in august is a sentence or fragment
Mary buys a reel of thread for sewing. There are 10 m of thread on the reel. She uses 210 cm. How much is left on the reel in centimeters?
What is 2384598 increased by six million
We see it once a year, twice a week and never a day. What is it?
Solve for b: P= 2b + 2s
What is 2384598 increased by six million