MCQEasy1 mark
2
Fill in the blanks with the correct options:
The ASCII code of 'B' is __________.
Topic: ASCII codes
Previous-year question practice database
Try it
Pick an option and check your answer. The full worked answer is below either way.
Answer
Exam answer
(b) 66.
Explanation
Fix the three anchors and every question of this type becomes instant: 'A' = 65, 'a' = 97, '0' = 48. From 'A' = 65, the next letter 'B' is 66. Option (a) 67 is 'C', and option (c) 98 is lowercase 'b' — note that uppercase and lowercase differ by exactly 32, which is worth remembering in its own right.
In words
66.
More from Revision Tour I
The full form of JVM is:2026Which of the following occupies 2 bytes of storage?2026In a statement c = c + (x * d + e); which variable is an accumulator?2026Assertion (A): The result of the Java expression 3 + 7/2 is 6.
Reason (R): According to the hierarchy of operators in Java, addition is done first followed by division.2026Evaluate the Java expression:
x = a * b % (++c) + (++a) + (--b);
if a = 7, b = 8, c = 22026System.out.println('Z' + 32); will display:2025