In a signed 8-bit system, how is −8 represented in 2’s complement?
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.
Correct answer: (B) 11111000
Explanation
+8 = 00001000. Inverting gives 11110111, and adding 1 gives 11111000, which is −8 in 8-bit 2's complement.
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.