Ask Question

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

+2
Answers (1)
  1. 29 July, 06:20
    0
    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.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “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 ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers