Computer AwarenessModerateSSC CGL · IBPS PO Mains
In ASCII the capital letter 'G' has the code 71 (decimal). What is the code of the small letter 'g', written in hexadecimal?
- A. 67
- B. 47
- C. 77
- D. 57
Correct answer: A. 67
Small letters are 32 more than capitals, so 'g' = 71 + 32 = 103 = 6 × 16 + 7 = (67)₁₆. (47)₁₆ is the code of 'G' itself.
हिंदी में
ASCII में बड़े अक्षर ‘G’ का कोड 71 (दशमलव) है। छोटे अक्षर ‘g’ का कोड हेक्साडेसिमल में लिखने पर क्या है?
- A. 67
- B. 47
- C. 77
- D. 57
उत्तर: A. छोटे अक्षर बड़े अक्षरों से 32 अधिक होते हैं, इसलिए ‘g’ = 71 + 32 = 103 = 6 × 16 + 7 = (67)₁₆। (47)₁₆ स्वयं ‘G’ का कोड है।
More Computer Awareness questions
- 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 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?