2's complement of -100

2007

2's complement of -100

  1. A.

    00011100

  2. B.

    10011101

  3. C.

    10011100

  4. D.

    11100100

Attempted by 6 students.

Show answer & explanation

Correct answer: C

To find the 8-bit two's complement of -100, first convert positive 100 to binary: 01100100. Next, invert all bits to get the one's complement: 10011011. Finally, add 1 to the result to obtain the two's complement: 10011100.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Mppsc Assistant Professor