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

2+y-8=19 what is the value of y
Can you help me on number 1 and 3.
Each year a salesperson is paid a bonus of $2000 which is banked into the same account. It earns a fixed rate of interest of 6% p.a. with interest being paid an
A vaccine puts into the body weakened/dead pathogenic material, which by itself is incapable of causing disease. How does this help to protect the body in the c
Why do you think it took so long for scientists to accept the idea of continental drift?
Mindy always feels exhausted and it has only gotten worse even though she is in the middle of her second trimester. When she had a blood test done the physician
what is -7/12 + 7/10
The graph of the function y = x2 + 2 is shown. Which equation will shift the graph of the function down 4 units?
The humanities developed the distinction between which kinds of love?
Which equation has the same solution as x^2-6x-12=0