# GATE 2002: In 2’s complement addition, overflow (a) is…

0

GATE 2002:
In 2’s complement addition, overflow
(a) is flagged whenever there is carry from sign bit addition
(b) cannot occur when a positive value is added to a negative value
(c) is flagged when the carries from sign bit and previous bit match
(d) None of the above

Ravi Garg edited question

### 9 answers

0
Hima Mehta (anonymous)

here C can’t be the answer why ? because if both the carry match then xor will be zero..

Hima Mehta answered
0
Madhav Purohit (anonymous)

c for +ve sign bit wud b 0 nd 4 -ve it wud b 1 so no chance of betting overflow…!!:-)

Madhav Purohit answered
0
Hima Mehta (anonymous)

its c

Hima Mehta answered
0
Madhav Purohit (anonymous)

Hima Mehta: How cn u say…

Madhav Purohit answered
0
Hima Mehta (anonymous)

its the overflow condition … xor of carry bit and sign bit is 1 ..

Hima Mehta answered
Add image to editor add image from link

### Question stats

• Active
• Views1054 times
• Answers9 answers
• Followers1 follower
Question and answer is powered by AnsPress