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?

  1. A.

    Gray code

  2. B.

    Excess-3 code

  3. C.

    ASCII

  4. 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.

Explore the full course: Btsc Lab Assistant