Skip to content
Solved Examples · Example 10

Q.Convert (1001)G(1001)_G into binary using X-OR gates.

Karnataka PUCTextbookNumericImportance★★★★★est
29% · 46/160 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

[!TLDR]

Copy the MSB, then cascade XOR gates that combine the running binary bit with the next gray bit to get (1001)G=(1110)2(1001)_G = (1110)_2.

For gray g3g2g1g0=1001g_3g_2g_1g_0 = 1001:

  • b3=g3=1b_3 = g_3 = 1 (the MSB passes straight through)
  • b2=b3⊕g2=1⊕0=1b_2 = b_3 \oplus g_2 = 1 \oplus 0 = 1
  • b1=b2⊕g1=1⊕0=1b_1 = b_2 \oplus g_1 = 1 \oplus 0 = 1
  • b0=b1⊕g0=1⊕1=0b_0 = b_1 \oplus g_0 = 1 \oplus 1 = 0 …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.