Which operation converts a string to all lowercase letters?

Enhance your understanding of IGCSE Algorithms and Pseudocode Foundations. Engage with flashcards and multiple-choice questions, each offering hints and explanations. Prepare thoroughly for your exam!

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