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

what is 6???please tell me in about an hour i need it!pleaseeee
The correct spelling of a word that means standing still is a. stationary. b. stashunery. c. stashunary. d. stationery.
Where is specific coding information about each section located in the CPT? A. Introduction B. Guidelines C. Procedural section D. Index
"The Big Easy" is also known as? 1=Los Angeles 2=New Orleans 3=Boston
If an applicant is experienced, has a solid work history, and is staying within her field, the most effective format for her resumé would likely be _____. chron
298/100 X 12 in fraction form
(5x - 18) + (4x + 7) = 180 what is the value of x?
Which one of the following is a run-on sentence? A. Jerry told me he likes June, but Hank likes Julie better. B. I would talk to Frank if I knew him, but p
How did migration lead to the population of the world?
how would I find the Max/min of this function f(x) = 2x squared +18x +16