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

33% As A Decimal And Fraction?
what service did the byzantine empire perform for european civilization?
of the four river valleys that supported major early civilizations, which one lost one of its major rivers
Brandon buys radio for 43.99 in a state where the sales tax is 7% how much does he pay in taxes?
Think of a real life situation that can be modeled by a proportion. Write a verbal model for the proportion and explain how it models the situation.
give the nth term and the next term of this 8,13,18,23,28
What is the gcf and lcm of 18 and 15
From 1818 to 1846, the United States and Great Britain administered the territory in Oregon together. This was a compromise until both countries could agree on
Discuss what variables are used to describe weather
What caused protests in South Vietnam during the presidency of Ngo Dinh Diem? Diem started reforms that stripped power from the wealthy landowners. Diem began p