What operation converts all letters in text to uppercase?

Prepare for the IGCSE Algorithms and Pseudocode Exam. Study with comprehensive questions covering key algorithms and pseudocode techniques. Access hints and explanations to gear up for your exam success!

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