Which of the following 4-bit numbers equals its 2’s complement?

2023

Which of the following 4-bit numbers equals its 2’s complement?

Answer: C. 1000Invert: 0111 Add 1: 0111 + 1 = 1000 (Equal to 1000)

  1. A.

    1010

  2. B.

    0101

  3. C.

    1000

  4. D.

    More than one of the above

  5. E.

    None of the above

Attempted by 382 students.

Show answer & explanation

Correct answer: C

  • Invert: 0111

  • Add 1: 0111 + 1 = 1000 (Equal to 1000)

Explore the full course: Hpsc Pgt Computer Science

Loading lesson…