Tip:A–D to answerE for explanationV for videoS to reveal answer
Consider the following 4- bit binary numbers represented in the 2’s complement form : 1101 and 0100 What would be the result when we add them?
- A.
0001 and no overflow
(Correct Answer) - B.
1001 and an overflow
- C.
0001 and an overflow
- D.
1001 and no overflow
Correct Answer: 0001 and no overflow
Explanation
2's Complement Addition (4-bit)
Given: 1101 and 0100 (in 2’s complement)
Step-by-step:
- 1101 = −3 (in decimal)
- 0100 = +4 (in decimal)
- Sum = −3 + 4 = +1
- +1 in 4-bit 2’s complement = 0001
✅ Final Answer: 0001
Explanation
2's Complement Addition (4-bit)
Given: 1101 and 0100 (in 2’s complement)
Step-by-step:
- 1101 = −3 (in decimal)
- 0100 = +4 (in decimal)
- Sum = −3 + 4 = +1
- +1 in 4-bit 2’s complement = 0001
✅ Final Answer: 0001