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

how do I do this correctly?
does the following equation represent a proportional relationship? Y= 2/3x
Using the same ratio as before, determine the missing information in the table below.
The final velocity, v, of an object is related to its initial velocity, u, its acceleration, a, and its displacement, s by the following formula: v² = u² + 2as
now a days water management is very essential write your opinion on this​
Where does the energy released by fission and fusion come from?
What is the fourth term of ( 3x + y ) ^4
In the adjoining figure, prove A + B + C + D + E = 180° ​
Prove thatTan a + sec a -1 1+sin a_____________ = _______tan a -sec a +1 COS a​
A circuit consists of a capacitor of 2 F and a resistor of 1000 Ω. An alternating current e.m.f of 12 V and a frequency 50 Hz is applied. Find; (i) the current