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

Lupe insists that whistling backstage is a jinx. Even though Carmen, her director, doesn’t believe in superstitions, she doesn’t correct Lupe. She doesn’t want
Reverse pyramid training has the lifter begin with the heaviest weight they can move for
What’s the value of X when 10 X equals 12
2. If a costing Rs. 45,000 is sold at a discount of 20%. Write the formula to find discount percent. Discount MP (b) Find the discount [1] [Ans: Rs. 9,000.(c) I
Correct answer please? I cant figure it out
Ace movers charge $50 plus $40 per hour to move household goods crosstown Hanks movers charges $65 per hour for what length of time does it cost less to hire Ha
evaluate and simplify 2/3a - 1/8b + 1/6a​
Question 6 (6.03): Simplify. m9n7m6n
English Write a letter to your friend wishing him or her happy birthday. ​
The ethical principle of beneficence matches which of these ethical considerations