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

Which ancient civilization is associated with the Twelve Tables, an extensive road system, and the poets Horace and Virgil?
Where did the Greeks believe that most gods lived
David helped his father stock the pond with baby catfish and blue gill. They put in a total of 75 fish. If the number of blue gill was doubled and the number of
Which ancient civilization is associated with the Twelve Tables, an extensive road system, and the poets Horace and Virgil?
Find the length of the radius of the following circle. (x + 2)2 + y2 = 10
State whether the following statements are true or false. Justify.(i) For an arbitrary binary operation * on a set N,  a * a = a ,  for all a * N.(ii) If * is a
How do I solve for x? X+6x=56
Perimeter of a square with an area of 81cm2
find a common solution for each system of equations: y=3x+5 y=-5x-3
How many flags are in this wolld ;)