The binary equivalent of the Gray code 11100 is:
2018
The binary equivalent of the Gray code 11100 is:
- A.
10111
- B.
00111
- C.
01011
- D.
10101
Attempted by 1302 students.
Show answer & explanation
Correct answer: A
Rule to convert Gray → Binary: First binary bit = first Gray bit
Next binary bit = previous binary bit ⊕ current Gray bit
Gray: 1 1 1 0 0 B₁ = 1
B₂ = 1 ⊕ 1 = 0
B₃ = 0 ⊕ 1 = 1
B₄ = 1 ⊕ 0 = 1
B₅ = 1 ⊕ 0 = 1