Computer AwarenessVery hardSSC CGL · UPSC CAPF

What is the Gray code equivalent of the binary number 1011?

  1. A. 1010
  2. B. 1101
  3. C. 1111
  4. D. 1110

Correct answer: D. 1110

Gray: MSB stays 1; then 1 xor 0 = 1, 0 xor 1 = 1, 1 xor 1 = 0, giving 1110.

More Computer Awareness questions

Exams that ask this topic