Question 27Asked in DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2

A code in which only one bit changes between successive numbers is known as ________ code.

  1. AASCII
  2. BHAMMING
  3. CGRAY
  4. DBCD
Show answerHide answer

Correct answer: (C) GRAY

Explanation

In Gray code, consecutive numbers differ in exactly one bit, for example 01 → 11 → 10. This is useful in shaft encoders and K-maps.

From DSSSB TGT Computer Science PYQ (Technical), 8 Aug 2021, Shift 2

This is question 27 of DSSSB TGT Computer Science PYQ (Technical), 8 Aug 2021, Shift 2. 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.