Considering 2's complement representation for negative numbers, what is the…

2018

Considering 2's complement representation for negative numbers, what is the decimal equivalent of an 8-bit register content 10000000?

  1. A.

    -0

  2. B.

    +0

  3. C.

    +128

  4. D.

    -128

Attempted by 103 students.

Show answer & explanation

Correct answer: D

In 8-bit two's complement representation, the most significant bit has a negative weight of -128. Since only this bit is set in 10000000, the decimal equivalent is exactly negative one hundred twenty-eight.

Explore the full course: Up Lt Grade Assistant Teacher 2025