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

Subject content is material learned in a major subject. true or false?
Convert 34 over 9 into a mixed number
Show an equation and a solution. How much pure antifreeze must be added to 12 L of a 40% solution to obtain a 60% solution. (Remember that pure antifreeze is 10
what are the two main sources of energy on earth?
What is the definition of Constantine?
Isaac is using a drug that can be helpful to people who need it, but is harming his body. His motivation is to gain muscle for a sports team he wants to join. W
Solve using the quadratic formula. 5x^2+x+3=0
Answer QUESTION IS WORTH 60 FULL POINTS ANSWER IN 5 MINUTES AND GET THE 60 POINTS Vince weighs 160 pounds, and his friend Nadir weighs 140 pounds. Nadir calcu
who was Cristóbal Colón?
The Code of Hammurabi was the a) first method of encoding communications during war. b) first formal theory of agriculture. c) first written set of laws. d) fir