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

Equivalent mixed number for: 21/8 = ?
how did Renaissance art use humanist ideas
Which of the following is true about Mongol rule in China? A.Trade with other countries declined. B.Chinese were allowed to serve in the military. C.Mongol and
The damage caused by hurricane Katrina took the form of _______. a. oil spills and building damage b. flooding and mold infestations c. toxic chemicals and sewa
Which two countries were in conflict because they both tried to settle in the Upper Ohio River Valley?
my question is in the pic
how do you work out linear equation word problems
How did Hitler break the agreement from Munich?
A bookmark is shaped like a rectangle with a semicircle attached at both ends. The rectangle is 12 cm long and 4 cm wide. The diameter of each semicircle is the
Write a decimal equation that has a product of 3.15 ( do not use 1 as a factor?