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

find the value of 1.2 to the 2nd power
A rectangular plot of land is represented on a coordinate plane where each unit is one foot. The vertices are at (50,20), (50,90), (100,20) and (100,90). What i
y=-3x-6 y=-4x-9 Solve using substitution please
What effect does the tone of the excerpt have on the leader
As a result of the “Corrupt Bargain” of 1824, Andrew Jackson
how many moles of oxygen are needed to produce 12 moles of carbon dioxide?
An escalator from the ground floor to the second floor of a department store is 110 ft long and 32 ft vertical. What is the escalator’s angle of elevation?
PLEASE help me write some imagist poetry!!! > you're GOING TO DESCRIBE SOMETHING METAPHORICALLY WITHOUT NAMING THE OBJECT > pick an everyday object such
what's 50+20+35+70+15=?
Calculate the number of moles of magnesium in 5.0 g of magnesium