Difficulty: Easy
Correct Answer: Correct
Explanation:
Introduction / Context:
This verifies a straightforward binary addition. We add 0101 (5) to 1111 (15) and check whether the sum equals 10100 (20).
Given Data / Assumptions:
Concept / Approach:
Binary addition proceeds bitwise with carries. If the result exceeds the current word width, we extend the width to include the final carry, producing a wider sum.
Step-by-Step Solution:
Verification / Alternative check:
Decimal check: 5 + 15 = 20 → binary 10100.
Why Other Options Are Wrong:
Common Pitfalls:
Forgetting to emit the final carry as the new MSB.
Final Answer:
Correct
Discussion & Comments