Question:

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?

Show Hint

When working with 2's complement, overflow occurs only if result exceeds representable range. Here, some interpretations might say overflow due to bit flip.
Updated On: May 12, 2025
  • 0001 and an overflow
  • 1001 and no overflow
  • 1001 and an overflow
  • 0001 and no overflow
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

Step 1: Interpret 2's complement numbers. 
1101 (4-bit 2's complement) = \(-3\) 
0100 (4-bit 2's complement) = \(+4\) 
Step 2: Add the two values: 
\[ -3 + 4 = +1 \] Step 3: Binary addition: 
\[ 1101 + 0100 = (1)0001 \Rightarrow 0001 \] Step 4: Overflow check: 
One number is negative, one is positive → No overflow. But if considering MSB change in sign bit, question might interpret overflow differently.

Was this answer helpful?
0
0

Top Questions on Computer Architecture

View More Questions