Computer AwarenessHardIBPS SO IT Officer · SSC CGL
In ASCII, 'M' is 77 and 'm' is 109, so changing one into the other flips exactly one bit. What is the place value of that bit?
- A. 16
- B. 64
- C. 32
- D. 128
Correct answer: C. 32
109 − 77 = 32 = 2⁵, so toggling bit 5 switches the case of any ASCII letter; 7-bit ASCII never uses the 128 bit at all.
हिंदी में
ASCII में ‘M’ का मान 77 और ‘m’ का 109 है, इसलिए एक को दूसरे में बदलने पर ठीक एक बिट पलटता है। उस बिट का स्थानीय मान क्या है?
- A. 16
- B. 64
- C. 32
- D. 128
उत्तर: C. 109 − 77 = 32 = 2⁵, इसलिए बिट 5 को पलटने से किसी भी ASCII अक्षर का केस बदल जाता है; 7-बिट ASCII में 128 वाला बिट कभी प्रयोग ही नहीं होता।
More Computer Awareness questions
- A text file is saved in UTF-8. How many bytes does the English letter 'A' take, and how many does a Devanagari letter such as 'क' take?
- In which number base is the statement 3 × 4 = 13 true?
- Three of these numbers are equal. Which one has a different value?
- What is (A0)₁₆ − (3F)₁₆, written in hexadecimal?
- What is (567)₈ + (234)₈, written in octal?
- When the digits 8 and 5 are added in 8421 BCD, the 4-bit sum 1101 is not a valid BCD digit. How is it corrected, and what is the final BCD…