The 2's complement representation of (-539)10 in hexadecimal is

2001

The 2's complement representation of (-539)10 in hexadecimal is

  1. A.

    ABE

  2. B.

    DBC

  3. C.

    DE5

  4. D.

    9E7

Attempted by 14 students.

Show answer & explanation

Correct answer: C

The options use 3 hexadecimal digits, so the representation is 12 bits.
For a negative number in 12-bit two's complement, compute 2^12 - magnitude.
2^12 = 4096.
4096 - 539 = 3557.
Now convert 3557 to hexadecimal: 3557 = 13 × 256 + 14 × 16 + 5 = DE5.
Therefore, the 12-bit two's complement representation of (-539)10 is DE5. Hence, option C is correct.

Explore the full course: Gate Guidance By Sanchit Sir