What operation converts all letters in text to uppercase?

Study for the IGCSE Algorithms and Pseudocode exam to demonstrate mastery of computing foundations. Enhance learning with quizzes, in-depth explanations, and custom study plans. Begin your journey to success now!

Multiple Choice

What operation converts all letters in text to uppercase?

Explanation:
Converting text to uppercase is a case transformation. It changes each alphabetic character to its uppercase form while leaving non-letter characters as they are. For example, "hello" becomes "HELLO" and "Code123" becomes "CODE123." This is exactly what the operation named Upper does in typical string handling. The other ideas don’t fit: turning letters to lowercase would produce "lower"case, not uppercase; extracting a substring would pull out part of the text; and finding the maximum would look for the largest character or value rather than changing case.

Converting text to uppercase is a case transformation. It changes each alphabetic character to its uppercase form while leaving non-letter characters as they are. For example, "hello" becomes "HELLO" and "Code123" becomes "CODE123." This is exactly what the operation named Upper does in typical string handling.

The other ideas don’t fit: turning letters to lowercase would produce "lower"case, not uppercase; extracting a substring would pull out part of the text; and finding the maximum would look for the largest character or value rather than changing case.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy