Question 36Asked in DSSSB TGT Computer Science (Technical), 13 Sep 2025, Shift 3 (5:00 PM)

In a signed 8-bit system, how is −8 represented in 2’s complement?

  1. A1000
  2. B11111000
  3. C10001000
  4. D11111111
Show answerHide answer

Correct answer: (B) 11111000

Explanation

+8 = 00001000. Inverting gives 11110111, and adding 1 gives 11111000, which is −8 in 8-bit 2's complement.

From DSSSB TGT Computer Science PYQ (Technical), 13 Sep 2025, Shift 3 (5:00 PM)

This is question 36 of DSSSB TGT Computer Science PYQ (Technical), 13 Sep 2025, Shift 3 (5:00 PM). 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.