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

ABCD is a rectangle. Find the length of each diagonal. AC = 2(x-3) BD = x+5
a dilob has a mass of 20.2 milligrams. What is the dilobs mass in grams?
Steering to the right will result in weight transfer to
Winning the mexican war did what in regard to trade for the united states? a. the united states now had to consider going to war with great britain for control
20 points! Please answer soon! Anxiety disorders are __________. A. characterized by abnormal fear of everyday situations B. only occur in fearful situations C
Which of the following describes an important change to European society brought about by the Renaissance? A.European scientists began to realize that the Bible
Which treatment is associated with a loss of personality? Aversion therapy Drug therapy Lobotomy Electroconvulsive therapy
What effect does slow sync flash result in?
what is true about the solution of x^2/2x-6 = 9/6x-18
In 2009, Florida suffered more __________ fatalities in traffic collisions than any other state except California. A. pedestrian B. bicyclist C. child D. None o