Computer AwarenessVery hardSBI PO · IBPS Clerk · SSC CGL

The binary number 1011 converted into Gray code is:

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

Correct answer: C. 1110

Gray code: keep the MSB (1), then XOR each pair of adjacent bits: 1⊕0 = 1, 0⊕1 = 1, 1⊕1 = 0. Result 1110.

हिंदी में

बाइनरी संख्या 1011 को ग्रे कोड में बदलने पर प्राप्त होता है:

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

उत्तर: C. ग्रे कोड: MSB (1) को वैसा ही रखें, फिर आसन्न बिटों के प्रत्येक युग्म का XOR लें: 1⊕0 = 1, 0⊕1 = 1, 1⊕1 = 0। परिणाम 1110।

More Computer Awareness questions

Exams that ask this topic