• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

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

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

Please comment below if you find anything wrong in the above post
Feeling lost in the world of random DSA topics, wasting time without progress? It's time for a change! Join our DSA course, where we'll guide you on an exciting journey to master DSA efficiently and on schedule.
Ready to dive in? Explore our Free Demo Content and join our DSA course, trusted by over 100,000 geeks!

Last Updated :
Share your thoughts in the comments