Represent (743)₈ in grey code.
Show answerHide answer
Correct answer: (A) 100010010
Explanation
(743)₈ = 111 100 011 in binary. The Gray code keeps the MSB and then XORs each pair of adjacent bits: 1, 0, 0, 0, 1, 0, 0, 1, 0, which gives 100010010.
Correct answer: (A) 100010010
Explanation
(743)₈ = 111 100 011 in binary. The Gray code keeps the MSB and then XORs each pair of adjacent bits: 1, 0, 0, 0, 1, 0, 0, 1, 0, which gives 100010010.
This is question 105 of DSSSB TGT Computer Science PYQ, 25 Jun 2023, Shift 2 (12:30 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.