Machine-translated by Google. Questions are authored in English.
Top

Discussion

What is the defining property of the Gray code ?

  • A.Every code word has even parity
  • B.Successive values differ in exactly one bit
  • C.Each decimal digit is stored in four bits
  • D.The code is weighted by powers of two

Answer: B

Correct answer: Successive values differ in exactly one bit

In Gray code only one bit changes between consecutive values. That property matters in position encoders, where several bits changing at once could momentarily be read as a wildly wrong value.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.