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 (3+y)/y=7, then y= Please help :)
The function f(t) = −5t 2 + 20t + 60 models the approximate height of an object t seconds after it is launched. How many seconds does it take the object to hit
What causes chemical weathering?
three snack bars contain 1/5,0.22,and 19% of their calories from fat. which snack bar contains the least amount of calories from fat ?
The tropical climate zone is in which two states?
Add the following fractions.3/8 + 5/12 =
Ratio equal to the ratio given 12:7
who decided the election of 1800 and why ?
what is a similar quote for Romeo and Juliet "my bounty is as boundless as the sea . My love as deep , the more i give to thee , the more i have , for both are
how do I solve (3+i)(3-i)