Question 105Asked in DSSSB TGT Computer Science, 25 Jun 2023, Shift 2 (12:30 PM)

Represent (743)₈ in grey code.

  1. A100010010
  2. B101011101
  3. C110100000
  4. D100010000
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.

From DSSSB TGT Computer Science PYQ, 25 Jun 2023, Shift 2 (12:30 PM)

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.