Which operation converts a string to all lowercase letters?

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

Which operation converts a string to all lowercase letters?

Explanation:
This question tests changing the case of letters in a string. The operation that converts all characters to lowercase applies a function that maps each letter to its lowercase form, so a string like 'AbC' becomes 'abc'. This is useful for normalizing text so comparisons ignore case or for consistent display. The other options don’t fit: converting to uppercase would produce 'ABC'; extracting a substring would take only a portion of the string; and arithmetic operators deal with numbers, not text casing.

This question tests changing the case of letters in a string. The operation that converts all characters to lowercase applies a function that maps each letter to its lowercase form, so a string like 'AbC' becomes 'abc'. This is useful for normalizing text so comparisons ignore case or for consistent display. The other options don’t fit: converting to uppercase would produce 'ABC'; extracting a substring would take only a portion of the string; and arithmetic operators deal with numbers, not text casing.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy