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

the current through a 12ohm resistive circuit when 24 volts is applied ​
Which of the following statements is/are true? A. You can include more than one topic in a paragraph. B. Any interesting information can be included even if it
the graph shows the calories per once for potato chips enter values to complete each statement below based on the graph
Please someone help!!!
What does it mean when you say a person is arrested?
What is the government proposing to do with global climate change in Canada?
The highest involuntary deceleration survived by a human is 1762 m/s2. Formula-1 racecar driver David Purley crashed into a wall going 110 mph. How much distanc
Please explain this to me
A student's rectangular desk is 30 inches long and 18 inches wide. The teacher's desk is similar to the student's desk and has a length of 50 inches. What is th
Every flat map is distorted in some way because __________________