GATE Exam  >  GATE Questions  >  When two 8-bit numbers A7... A0and B7... B0in... Start Learning for Free
When two 8-bit numbers A7 ... A0 and B7 ... 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 ... S0and the carry bits are C7 ... C0. An overflow is said to have occured if
  • a)
    the carry bit C7 is 1
  • b)
    all the carry bits (C7, ... , C0) are 1
  • c)
    (A7 . B7 . S7' + A7' . B7' . S7) is 1
  • d)
    (A0 . B0 . S0' + A0' . B0' . S0) is 1
Correct answer is option 'C'. Can you explain this answer?
Verified Answer
When two 8-bit numbers A7... A0and B7... B0in 2's complement repre...
Overflow indicates that the result was too large or too small to fit in the original data type.
Overflow flag indicates an overflow condition for a signed operation. Signed numbers are represented in two's complement representation. 
The overflow occurs only when two positive number are added and the result is negative or two negative number are added and the result is positive. Otherwise, the sum has not overflowed.
Therefore, a XOR operation can quickly determine if an overflow condition exists. i.e., 
(A7 . B7)⊕(S7) = (A7 . B7 . S7‘ + A7‘ . B7‘ . S7 = 1 
Another Solution
So, it depends on S7 for overflow. when S7 is 0 while adding two negative numbers and when S7 is 1 while adding two positive numbers A7. B7. S7' + A7'. B7'.S7 = 1 
View all questions of this test
Explore Courses for GATE exam
When two 8-bit numbers A7... A0and B7... B0in 2's complement representation (with A0and B0as the least significant bits) are added using ripple-carry adder. the sum bits obtained are S7... S0and the carry bits are C7... C0. An overflow is said to have occured ifa)the carry bit C7is 1b)all the carry bits (C7, ... , C0) are 1c)(A7. B7. S7' + A7' . B7' . S7) is 1d)(A0. B0. S0' + A0' . B0' . S0) is 1Correct answer is option 'C'. Can you explain this answer?
Question Description
When two 8-bit numbers A7... A0and B7... B0in 2's complement representation (with A0and B0as the least significant bits) are added using ripple-carry adder. the sum bits obtained are S7... S0and the carry bits are C7... C0. An overflow is said to have occured ifa)the carry bit C7is 1b)all the carry bits (C7, ... , C0) are 1c)(A7. B7. S7' + A7' . B7' . S7) is 1d)(A0. B0. S0' + A0' . B0' . S0) is 1Correct answer is option 'C'. Can you explain this answer? for GATE 2024 is part of GATE preparation. The Question and answers have been prepared according to the GATE exam syllabus. Information about When two 8-bit numbers A7... A0and B7... B0in 2's complement representation (with A0and B0as the least significant bits) are added using ripple-carry adder. the sum bits obtained are S7... S0and the carry bits are C7... C0. An overflow is said to have occured ifa)the carry bit C7is 1b)all the carry bits (C7, ... , C0) are 1c)(A7. B7. S7' + A7' . B7' . S7) is 1d)(A0. B0. S0' + A0' . B0' . S0) is 1Correct answer is option 'C'. Can you explain this answer? covers all topics & solutions for GATE 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for When two 8-bit numbers A7... A0and B7... B0in 2's complement representation (with A0and B0as the least significant bits) are added using ripple-carry adder. the sum bits obtained are S7... S0and the carry bits are C7... C0. An overflow is said to have occured ifa)the carry bit C7is 1b)all the carry bits (C7, ... , C0) are 1c)(A7. B7. S7' + A7' . B7' . S7) is 1d)(A0. B0. S0' + A0' . B0' . S0) is 1Correct answer is option 'C'. Can you explain this answer?.
Solutions for When two 8-bit numbers A7... A0and B7... B0in 2's complement representation (with A0and B0as the least significant bits) are added using ripple-carry adder. the sum bits obtained are S7... S0and the carry bits are C7... C0. An overflow is said to have occured ifa)the carry bit C7is 1b)all the carry bits (C7, ... , C0) are 1c)(A7. B7. S7' + A7' . B7' . S7) is 1d)(A0. B0. S0' + A0' . B0' . S0) is 1Correct answer is option 'C'. Can you explain this answer? in English & in Hindi are available as part of our courses for GATE. Download more important topics, notes, lectures and mock test series for GATE Exam by signing up for free.
Here you can find the meaning of When two 8-bit numbers A7... A0and B7... B0in 2's complement representation (with A0and B0as the least significant bits) are added using ripple-carry adder. the sum bits obtained are S7... S0and the carry bits are C7... C0. An overflow is said to have occured ifa)the carry bit C7is 1b)all the carry bits (C7, ... , C0) are 1c)(A7. B7. S7' + A7' . B7' . S7) is 1d)(A0. B0. S0' + A0' . B0' . S0) is 1Correct answer is option 'C'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of When two 8-bit numbers A7... A0and B7... B0in 2's complement representation (with A0and B0as the least significant bits) are added using ripple-carry adder. the sum bits obtained are S7... S0and the carry bits are C7... C0. An overflow is said to have occured ifa)the carry bit C7is 1b)all the carry bits (C7, ... , C0) are 1c)(A7. B7. S7' + A7' . B7' . S7) is 1d)(A0. B0. S0' + A0' . B0' . S0) is 1Correct answer is option 'C'. Can you explain this answer?, a detailed solution for When two 8-bit numbers A7... A0and B7... B0in 2's complement representation (with A0and B0as the least significant bits) are added using ripple-carry adder. the sum bits obtained are S7... S0and the carry bits are C7... C0. An overflow is said to have occured ifa)the carry bit C7is 1b)all the carry bits (C7, ... , C0) are 1c)(A7. B7. S7' + A7' . B7' . S7) is 1d)(A0. B0. S0' + A0' . B0' . S0) is 1Correct answer is option 'C'. Can you explain this answer? has been provided alongside types of When two 8-bit numbers A7... A0and B7... B0in 2's complement representation (with A0and B0as the least significant bits) are added using ripple-carry adder. the sum bits obtained are S7... S0and the carry bits are C7... C0. An overflow is said to have occured ifa)the carry bit C7is 1b)all the carry bits (C7, ... , C0) are 1c)(A7. B7. S7' + A7' . B7' . S7) is 1d)(A0. B0. S0' + A0' . B0' . S0) is 1Correct answer is option 'C'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice When two 8-bit numbers A7... A0and B7... B0in 2's complement representation (with A0and B0as the least significant bits) are added using ripple-carry adder. the sum bits obtained are S7... S0and the carry bits are C7... C0. An overflow is said to have occured ifa)the carry bit C7is 1b)all the carry bits (C7, ... , C0) are 1c)(A7. B7. S7' + A7' . B7' . S7) is 1d)(A0. B0. S0' + A0' . B0' . S0) is 1Correct answer is option 'C'. Can you explain this answer? tests, examples and also practice GATE tests.
Explore Courses for GATE exam
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev