Difficulty: Easy
Correct Answer: 4-bit binary code
Explanation:
Introduction / Context:
BCD is used when decimal digit integrity matters, such as in financial displays and calculators. Each digit is encoded independently, simplifying decimal correction and display driving at the expense of storage efficiency compared to pure binary.
Given Data / Assumptions:
Concept / Approach:
The width per digit equals the number of bits required to represent the set of ten symbols. Four bits provide 16 combinations, enough to hold 10 valid codes and 6 invalid ones in straight BCD.
Step-by-Step Solution:
1) Determine required combinations: at least 10.2) Evaluate 2^3 = 8 (insufficient), 2^4 = 16 (sufficient).3) Adopt 4-bit codes for each decimal digit.4) Result: each digit in BCD is a 4-bit binary code.
Verification / Alternative check:
Examine common BCD tables: 0=0000, 1=0001, 2=0010, ..., 9=1001; codes 1010..1111 are unused in straight BCD.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing packed BCD storage (two digits per byte) with the width per digit; the per digit code remains 4 bits.
Final Answer:
4-bit binary code
Discussion & Comments