Difficulty: Easy
Correct Answer: 9
Explanation:
Introduction / Context:
Binary-Coded Decimal (BCD) encodes each decimal digit into a 4-bit group for ease of decimal display and arithmetic adjustments. Understanding the valid range of a single BCD nibble is essential for detecting invalid codes and designing BCD adders or display drivers.
Given Data / Assumptions:
Concept / Approach:
Because BCD mirrors decimal digits, the highest allowable decimal value in one nibble is 9. Although 4 bits can represent 0–15 in pure binary, BCD reserves only 10 codes for 0–9 and treats 10–15 as illegal for a single decimal digit.
Step-by-Step Solution:
Verification / Alternative check:
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
Discussion & Comments