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

commutative property of 35x70=mx35
Which Cold War incident broke off important talks between Eisenhower and Khrushchev in 1960?
a sporting goods company can ship 6 footballs in each carton. how many cartons are needed to ship 75 footballs
List four physical properties of a glass of milk
Write 10 sentences describing your weekend in french
an item has a price tag of $35 and another tag that says 20% off what is the sale price?
In Beowulf’s fight to the death with Grendel’s mother, the piece of his own equipment that saves his life is his — a. woven mail shirt c. sword, Hrunting b. hel
There are 60 tables in a restaurant, with 25% of them seating 2 people. The tables remaining seat 4 people. How many seats are there in the restaurant?
A planet in our solar system is located far from the sun describe the size and composition of the planet
3 times the sum of 1/3 of a number and 8 is 11