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

d = √[( x₂ - x₁) + (y₂ - y₁)] Midpoint Formula Slope Form Distance Formula Quadratic Formula
United States inventor (born in Scotland) of the telephone (1847-1922)
d = √[( x₂ - x₁) + (y₂ - y₁)] Midpoint Formula Slope Form Distance Formula Quadratic Formula
Why are the Muslims and the Jews are fighting over Israel?
If you visit the National Mall, where are you? a. Minneapolis, Minn. b. New York City, N.Y. c. Washington, D.C.
What special group advises the President of the United States? a. The Cabinet b. The Electoral College c. The Executive Branch
How many words are in the Pledge of Allegiance? a. 31 b. 22 c. 29
Who was Samuel F.B. Morse?
What is the symbol of the Republican Party?
question number 4 please help