Logic circuits

Which is a characteristic of Gray code?

  1. AEach decimal digit is represented by 4 bits
  2. BIt detects errors with a parity bit
  3. COnly one bit changes between adjacent values
Show answer and explanation

Answer: C. Only one bit changes between adjacent values

In Gray code, exactly one bit changes between adjacent values. Because multiple bits never change at once, errors are less likely in rotary encoder position sensing and when passing counter values between circuits with different clocks. Representing each decimal digit with 4 bits is BCD.

Practice this topic Back to topic

More Logic circuits questions

  1. Which correctly describes the operation of a D latch?
  2. What is the state called when a flip-flop receiving an asynchronous signal violates setup or hold time and its output is temporarily neither 0 nor 1?
  3. Which type of sequential circuit (state machine) has outputs determined only by the current state?
  4. Which represents decimal 59 in BCD (binary-coded decimal)?
  5. When is the output of a three-input majority circuit 1?