Difficulty: Easy
Correct Answer: zero padding
Explanation:
Introduction / Context:
ASCII is historically a 7-bit code. In many digital systems, bytes are 8 bits wide, so a 7-bit ASCII character is commonly stored in an 8-bit location by adding an extra bit on the left. This question asks for the proper term used when a 0 is added to that most significant position to fill the byte neatly without changing the character value.
Given Data / Assumptions:
Concept / Approach:
When extending a binary value to a wider width without changing its magnitude, adding zeros to the left (high-order side) is called “zero padding” or “zero extension.” This preserves the numeric/encoded meaning and is distinct from adding a parity bit or performing sign extension (used with signed integers).
Step-by-Step Solution:
Verification / Alternative check:
Compare numerical values before and after: 1000001 (binary 65) becomes 01000001 (binary 65). The value is identical, confirming a padding (not a reinterpretation).
Why Other Options Are Wrong:
Common Pitfalls:
Confusing parity with padding; assuming sign rules apply to character encodings; thinking the added bit changes the code point. It does not; it merely fits the code into an 8-bit container.
Final Answer:
zero padding
Discussion & Comments