Question 13Asked in DSSSB PGT Computer Science (Technical), 11 Jul 2021

What is the 2's complement of (−28)₁₀ in 16 bit representation?

  1. A1000000000011100
  2. B1111111111100011
  3. C1111111111100100
  4. D1111111111100101
Show answerHide answer

Correct answer: (C) 1111111111100100

Explanation

+28 in 16 bits is 0000000000011100. Inverting the bits gives 1111111111100011, and adding 1 gives 1111111111100100.

From DSSSB PGT Computer Science PYQ (Technical), 11 Jul 2021

This is question 13 of DSSSB PGT Computer Science PYQ (Technical), 11 Jul 2021. 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.