Which is the correct ASCII collating sequence?

  1. spaces, a-z, A-Z, 0-9, special characters

  2. a-z, A-Z, 0-9, spaces, special characters

  3. spaces, special characters, 0-9, A-Z, a-z

  4. 0-9, special characters, spaces, a-z, A-Z


Correct Option: C

AI Explanation

To answer this question, you need to understand the ASCII collating sequence. The ASCII collating sequence is the order in which characters are arranged in the ASCII character set.

Let's go through each option to understand why it is correct or incorrect:

Option A) spaces, a-z, A-Z, 0-9, special characters - This option is incorrect because it starts with spaces, followed by lowercase letters (a-z), uppercase letters (A-Z), numbers (0-9), and special characters. The correct ASCII collating sequence does not start with spaces.

Option B) a-z, A-Z, 0-9, spaces, special characters - This option is incorrect because it starts with lowercase letters (a-z), followed by uppercase letters (A-Z), numbers (0-9), spaces, and special characters. The correct ASCII collating sequence starts with spaces.

Option C) spaces, special characters, 0-9, A-Z, a-z - This option is correct because it starts with spaces, followed by special characters, numbers (0-9), uppercase letters (A-Z), and lowercase letters (a-z). This is the correct ASCII collating sequence.

Option D) 0-9, special characters, spaces, a-z, A-Z - This option is incorrect because it starts with numbers (0-9), followed by special characters, spaces, lowercase letters (a-z), and uppercase letters (A-Z). The correct ASCII collating sequence starts with spaces.

The correct answer is C. This option is correct because it follows the correct ASCII collating sequence.

Find more quizzes: