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

Distinguish between speed and velocity.
During the late 1800s, pollution in cities was caused partly by horses, coal, and inadequate sewer systems. State true or false ?
The Earth’s ocean is a large body of water that is divided into __________ parts.
Find the slope of the line 2x+5y=-3.
The ____ contains the main idea in a paragraph.a. first sentenceb.declarative statementc.topic sentence d.thesis sentence
What's the date the declaration was approved
S= 2Lw+2wh+5hL solve for h
which one is a true statement about exothermic reactions? a. energy from an outside source is continuously being added. b. the reaction container always feels c
Are Haitians or Jamaicans better in food, variety, music etc. ?
Periodically adding, changing and deleting file records is called file. A) Updating B) Upgrading C) Restructuring D) Renewing E) None of the above