Difficulty: Easy
Correct Answer: Correct
Explanation:
Introduction / Context:
Binary-coded decimal (BCD) encodes each decimal digit in a 4-bit nibble. We add 5 (0101) and 4 (0100) and verify the BCD correction rules and final encoding.
Given Data / Assumptions:
Concept / Approach:
First perform binary addition of the low nibble. If the nibble sum is greater than 1001 (9) or a carry is generated, add 0110 to correct to valid BCD. Here, 0101 + 0100 = 1001 (9), which is already a valid BCD digit; no correction is needed.
Step-by-Step Solution:
Verification / Alternative check:
Decimal check: 5 + 4 = 9 → BCD 1001; extended to 8 bits as 0000 1001.
Why Other Options Are Wrong:
Common Pitfalls:
Applying BCD correction even when the nibble is already valid.
Final Answer:
Correct
Discussion & Comments