The Gray-code equivalent of binary 1011 is?

  • A1110
  • B1010
  • C1101
  • D1001
Report an error
Correct Answer: A. 1110
Explanation: For binary-to-Gray conversion, the MSB is unchanged and each following Gray bit is the XOR of adjacent binary bits: 1, 1 XOR 0 = 1, 0 XOR 1 = 1, 1 XOR 1 = 0, giving 1110.
Reference: Standard digital electronics: Gray code conversion
Continue practicing: Digital Electronics MCQs or browse all MCQs.