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

AFTER EVERY NINTH VISIT TO A RESTAURANT YOU RECEIVE A FREE BEVERAGE . AFTER VERY TWELFTH VISIT YOU RECEIVE A FREE APPETIZER . IF YOU VISIT THE RESTAURANT 100 TI
Where does all of the energy in an ecosystem ultimately come from? Please help
What features of Therapsids suggest the group was transitional to reptiles and mammals?
Help!! Please I need help on understanding this.Simplify the expression –4(x – 7) + 3(x + 9).
what's the opposite of applaud
I need to convert this to a scientific notation 286,300,000,000.00
What two phase changes occur between vapor water and liquid water and at what temperature does each phase change take place
500 reduced by 4 times my age is 232 .
Mitochondria and chloroplasts reproduce the same way free-living bacteria do—by
what is 28.09 rounded to the nearest tenthvis