Question 107

The Gray code of binary 1101 is:

  1. A1011
  2. B0111
  3. C1001
  4. D1110
Show answerHide answer

Correct answer: (A) 1011

Explanation

MSB stays 1; then XOR adjacent bits: 1^1=0, 1^0=1, 0^1=1 → 1011.

From DSSSB TGT Computer Science Full Mock Test 1

This is question 107 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.