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

Is 90 percent of alcohol metabolized through the liver?
evaluate the expression when b equals -6 + C equals 6 -3 C + B
In which forms of government is rules based on wealth or property ownership
Suppose babies born in a large hospital have a mean weight of 3242 grams, and a standard deviation of 446 grams. If 107 babies are sampled at random from t
A 1542 kg car has a speed of 13.4 m/s when it hits a tree. The tree doesn’t move and the car comes to rest. Find the change in kinetic energy of the car. Answer
counting atoms H2O ?
I need help on this.
In order to finance the colonial army the second continental congress decided to
Help needed! Can I get some help with two questions?
Describe two major benefits of meaningful use