Which of the following is a non-weighted code in which only one bit changes…
2016
Which of the following is a non-weighted code in which only one bit changes when moving from one code word to the next?
- A.
Gray code
- B.
Excess-3 code
- C.
ASCII
- D.
BCD
Attempted by 59 students.
Show answer & explanation
Correct answer: A
Gray code is a non-weighted binary code designed so that two adjacent code words differ in exactly one bit. For example, in 2-bit Gray code the sequence 00, 01, 11, 10 changes only one bit at each step. Hence, the required code is Gray code.