DSSSB PGT 2021
November 12, 2024GATE 2002
November 12, 2024GATE 2002
Question 21
|
In 2’s complement addition, overflow
is flagged whenever there is carry from sign bit addition
|
|
cannot occur when a positive value is added to a negative value
|
|
is flagged when the carries from sign bit and previous bit match
|
|
None of the above
|
Question 21 Explanation:
The left most bit of positive value is zero. And left most bit for negative value is one. The value of 0+1 becomes 1. Then overflow never occurs.
Correct Answer: B
Question 21 Explanation:
The left most bit of positive value is zero. And left most bit for negative value is one. The value of 0+1 becomes 1. Then overflow never occurs.