Question 101

What is the 2's complement of the 8-bit binary number 01011000?

  1. A10100111
  2. B10101001
  3. C10101000
  4. D01011000
Show answerHide answer

Correct answer: (C) 10101000

Explanation

Invert (10100111) and add 1 = 10101000.

From DSSSB TGT Computer Science Full Mock Test 1

This is question 101 of DSSSB TGT Computer Science Full Mock Test 1. 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.