Difficulty: Easy
Correct Answer: their collating sequences
Explanation:
Introduction / Context:ASCII and EBCDIC are legacy character encodings used to represent letters, digits, and symbols on computers. Understanding how they differ matters for sorting behavior, interoperability, and porting software between systems (e.g., mainframes vs microcomputers).
Given Data / Assumptions:
Concept / Approach:
Step-by-Step Explanation:
Review ASCII: digits '0'–'9' (0x30–0x39) occur before uppercase letters (0x41–0x5A) and lowercase (0x61–0x7A).Review EBCDIC: letters and digits are arranged in non-contiguous blocks, yielding different sort orders.Implication: programs that sort strings will yield different results across ASCII vs EBCDIC without translation tables.Verification / Alternative check:
Consider sorting strings that mix digits and letters; ASCII puts digits before letters, while EBCDIC order is different, proving collating-sequence differences.Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
their collating sequences
Discussion & Comments