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

Which examples best demonstrate the concept of federal preemption?.
ANYONE PLEASE HELP ASAP?!!!!!!!!!
SOMEONE HELP PLEASE There are 26 people going on a trip. somewhere going on a bike in summer going by cars. bikes carry two and SUVs carry for people. if they
21. Which of the following sentences contains a linking verb? The oak tree blew over in the storm. This soup tastes a bit too salty to me. My sister begins coll
Please help me with answers, i’ll give you brainliest. Question 1(Multiple Choice Worth 2 points) Tu _______ chez toi après la classe. reviens revient reven
1. Which substance has the highest boiling point?
Which description applies to a flashback?(1 point) A narrative alternates between two or more characters who are linked in some way. A narrative skips around in
Two less than seven times a number
Toluene (C7H8) burns in oxygen to produce cardon dioxide and water. (a) How many grams of oxygen are neccessary for the combustion of 94.5 g of toluene?
please help i’m stuck in this!