Difficulty: Easy
Correct Answer: invalid
Explanation:
Introduction / Context: Standard BCD uses a 4-bit group to encode decimal digits 0 through 9. Codes from 1010 to 1111 are not valid for a single BCD digit and are typically flagged as errors or treated as undefined in hardware decoders. This question tests recognition of invalid BCD patterns.Given Data / Assumptions:
Concept / Approach: Because BCD mirrors decimal digits, any 4-bit value above 1001 does not represent a valid decimal digit. The pattern 1010 equals decimal 10 in pure binary, but BCD cannot encode decimal 10 as a single digit; two digits are required (1 and 0).Step-by-Step Solution:
List valid patterns: 0000–1001 only.Compare 1010 against the valid range.Conclude that 1010 is outside the valid BCD digit set.Verification / Alternative check:
Check a 7-segment decoder truth table; inputs above 1001 are undefined or treated specially.Why Other Options Are Wrong:
8, 10, 12: These are decimal interpretations of binary values, not BCD-valid single digits; 10 and 12 require two decimal digits.Common Pitfalls:
Confusing pure binary value with BCD digit validity.Assuming any 4-bit pattern is an acceptable BCD digit, which is not the case.Final Answer:
invalid
Discussion & Comments