Computer AwarenessHardIBPS SO IT · IBPS PO Mains

The Gray code 1101 is converted back into ordinary binary. What is the result?

  1. A. 1011
  2. B. 1110
  3. C. 1101
  4. D. 1001

Correct answer: D. 1001

Keep the first bit (1), then each binary bit = previous binary bit XOR current Gray bit: 1, 1⊕1 = 0, 0⊕0 = 0, 0⊕1 = 1, giving 1001. 1011 is what you get by converting binary to Gray instead.

हिंदी में

ग्रे कोड 1101 को वापस सामान्य बाइनरी में बदला जाता है। परिणाम क्या है?

  1. A. 1011
  2. B. 1110
  3. C. 1101
  4. D. 1001

उत्तर: D. पहला बिट (1) वैसा ही रखें, फिर प्रत्येक बाइनरी बिट = पिछला बाइनरी बिट XOR वर्तमान ग्रे बिट: 1, 1⊕1 = 0, 0⊕0 = 0, 0⊕1 = 1, जिससे 1001 मिलता है। 1011 तब मिलता है जब बाइनरी को ग्रे में बदला जाए।

More Computer Awareness questions

Exams that ask this topic