Difficulty: Easy
Correct Answer: has 128 characters, including 32 control characters
Explanation:
Introduction / Context:ASCII is a foundational 7-bit character encoding used widely in computing and networking. Knowing its size and composition helps when mapping text, control codes, and interoperability between systems.
Given Data / Assumptions:
Concept / Approach:Identify the statement that matches the canonical description of ASCII sizing and its inclusion of non-printing control codes (such as NUL, BEL, LF, CR, ESC).
Step-by-Step Solution:
Compute capacity: 2^7 = 128 total codes.Printable characters are around 95; control characters commonly counted as 32 in the basic set.Therefore the accurate statement is that ASCII has 128 codes including control characters.Verification / Alternative check:Reference tables list codes 0–31 as control and 32–126 as printable, with 127 as DEL. This aligns with the chosen statement.
Why Other Options Are Wrong:
Common Pitfalls:Confusing ASCII (7-bit) with extended ASCII (8-bit variants) and mixing it with EBCDIC mappings.
Final Answer:has 128 characters, including 32 control characters
Discussion & Comments