Question 139Asked in BPSC TRE 2.0 (2023) Computer Science Class 11-12

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

  1. A1010
  2. B0101
  3. C1000
  4. DMore than one of the above
  5. ENone of the above
Show answerHide answer

Correct answer: (C) 1000

Explanation

For 1000, inverting gives 0111 and adding 1 gives 1000, so it equals its own 2's complement. 1000 is −8, which has no positive counterpart in 4 bits.

From BPSC TRE 2.0 (2023) Computer Science Class 11-12 — Previous Year Paper

This is question 139 of BPSC TRE 2.0 (2023) Computer Science Class 11-12 — Previous Year Paper. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.