In 2's-complement addition, overflow:

2002

In 2's-complement addition, overflow:

  1. A.

    is flagged whenever there is carry from sign bit addition

  2. B.

    cannot occur when a positive value is added to a negative value

  3. C.

    is flagged when the carries from sign bit and previous bit match

  4. D.

    none of the above

Attempted by 29 students.

Show answer & explanation

Correct answer: B

In 2's-complement addition, overflow is possible only when two operands with the same sign produce a result with the opposite sign. Equivalently, overflow occurs when the carry into the sign bit differs from the carry out of the sign bit. If one operand is positive and the other is negative, their sum lies between the two values and remains representable, so overflow cannot occur. Therefore, the correct statement is that overflow cannot occur when a positive value is added to a negative value.

Explore the full course: Gate Guidance By Sanchit Sir