GATE Computer ScienceModerateGATE CS (PYQ pattern)

In 3-digit BCD arithmetic, 254 − 783 is computed by adding the 10's complement of 783 to 254 (with decimal correction in each digit). What is the 3-digit result, the final carry-out, and the meaning?

  1. A. 471 with a carry-out, meaning +471
  2. B. 529, no carry-out, meaning −529
  3. C. 471, no carry-out, meaning −471
  4. D. 471, no carry-out, meaning −529

Correct answer: D. 471, no carry-out, meaning −529

10's complement of 783 is 1000 − 783 = 217. 254 + 217 = 471 with no carry out of the hundreds digit, so the result is negative and stored in complement form: −(1000 − 471) = −529.

More Digital Logic questions

Exams that ask this topic