GATE CS 2017, set 1 · Question 9 · Digital Logic · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer

When two 8-bit numbers A₇ … A₀ and B₇ … B₀ in 2's complement representation (with A₀ and B₀ as the least significant bits) are added using a ripple-carry adder , the sum bits obtained are S₇ … S₀ and the carry bits are C₇ … C₀. An overflow is said to have occurred if

  1. (A) the carry bit C₇ is 1
  2. (B) all the carry bits (C₇, …, C₀) are 1
  3. (C) (A₇ · B₇ · S̅₇̅ + A̅₇̅ · B̅₇̅ · S₇) is 1
  4. (D) (A₀ · B₀ · S̅₀̅ + A̅₀̅ · B̅₀̅ · S₀) is 1
Answer

Answer (C)

Answer from the official GATE CS 2017 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes