The Gray code of binary 1101 is:
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.
Correct answer: (A) 1011
Explanation
MSB stays 1; then XOR adjacent bits: 1^1=0, 1^0=1, 0^1=1 → 1011.
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.