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

In 2010, Haiti was hit by a devastating earthquake, which registered at 7. 0 on the Richter scale. The largest recorded earthquake since 1900 occurred in 1960 i
The price of a pair of ahoes increases from $55 to $72. What is the percent increase to the nearest percent
Plz help I don’t know
Desperate Please Hurry Question down below
To save money, a soap manufacturer reduces the size of their bottle of hand soap to 10.8 ounces, which is 20% less than the original size. What is the original
I really am stuck any help?
all equipment and utensils should be constructed with safe materials that are
can someone please answer the question i just asked please
The sum of two numbers is 42. If one third of one number is 5 greater than one sixth of another number, which of the following is the smaller number?
The question was : Color the Trapezoid that is next to the Rhombus