Computer AwarenessModerateIBPS SO IT Officer

Which code is self-complementing, so that inverting every bit of a digit's code gives the code of its 9's complement?

  1. A. 8421 BCD
  2. B. Gray code
  3. C. Excess-3
  4. D. 7-bit ASCII

Correct answer: C. Excess-3

Excess-3 codes digit d as d + 3; inverting gives 15 − (d + 3) = (9 − d) + 3, the Excess-3 code of 9 − d. For example 2 = 0101 inverts to 1010 = 7.

हिंदी में

कौन-सा कोड स्व-पूरक (सेल्फ़-कॉम्प्लिमेंटिंग) है, जिसमें अंक के कोड के प्रत्येक बिट को उलटने पर उसके 9 के पूरक का कोड मिलता है?

  1. A. 8421 BCD
  2. B. ग्रे कोड
  3. C. एक्सेस-3
  4. D. 7-बिट ASCII

उत्तर: C. एक्सेस-3 अंक d को d + 3 के रूप में कोडित करता है; उलटने पर 15 − (d + 3) = (9 − d) + 3 मिलता है, जो 9 − d का एक्सेस-3 कोड है। उदाहरण के लिए 2 = 0101 उलटकर 1010 = 7 होता है।

More Computer Awareness questions

Exams that ask this topic