Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

GATE | Sudo GATE 2020 Mock II (10 January 2019) | Question 35

  • Last Updated : 07 Jan, 2020

When two 8-bit numbers (A7 A6 … A0) and (B7 B6 … B0) in 2’s complement representation (with A0 and B0 as the least significant bits) are added using ripple carry adder, the sum bits obtained are (S7 S6 … S0) and the carry bits are (C7 C6 … C0). Which of the following statement(s) is/are correct ?

  1. If two numbers with the same sign (both positive or both negative) are added, then overflow occurs if and only if the result has the opposite sign.
  2. The overflow and carry out can each occur without the other. In unsigned numbers, carry out is equivalent to overflow. In two’s complement, carry out tells you nothing about overflow.

(A) Only 1
(B) Only 2
(C) Both 1 and 2
(D) None of these.

Answer: (C)

Explanation: Both statements are correct regarding overflow. Option (C) is true.

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!