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?
- A. 8421 BCD
- B. Gray code
- C. Excess-3
- 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 के पूरक का कोड मिलता है?
- A. 8421 BCD
- B. ग्रे कोड
- C. एक्सेस-3
- 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
- The hexadecimal number 3FA is written in binary without leading zeros. How many bits does it have?
- The full contents of a 64-bit register are written out once in hexadecimal and once in octal. At most how many digits does each form need?
- 725 − 248 is worked out by adding the 10's complement of 248 to 725 and dropping the end carry. What are the 10's complement and the final…
- What is (0.8)₁₆ + (0.4)₈, written in decimal?
- What is the sum of the largest value a 4-bit UNSIGNED number can hold and the smallest value a 4-bit TWO'S-COMPLEMENT number can hold?
- A cache takes 5 ns per access and main memory 80 ns. The cache is always checked first, and on a miss main memory is then read, so a miss…