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

What do I do to get the right answer
What is the chemical test for water
Solve for p. 3(p + 4) = 48 A. 13 B. 12 C. 14 D. 19
Question 3 (1 point) Which practice best describes the purpose of the National Archives and Records Administration? keeping lists of eligible voters in the Unit
The lengths of the diagonals of a rhombus are 24cm and 18 cm respectively. What is the perimeter/
List two ways in which traditional fishing and baking businesses are alike
What basic ingredient for thyroid hormone synthesis must be obtained from dietary intake?
f(x)=3x^3 + 4x^2 - 6x -7 g(x)= 2x-4 Find (f-g)(x)
List five merit goods in your community or a nearby city and the functions they serve
Where are the bronchial tubes located? After the trachea In the alveoli In the throat In the nose