Question 29Asked in DSSSB TGT Computer Science (Technical), 7 Aug 2021, Shift 3

By including which logical gate binary adder circuit is used for both binary addition and subtraction?

  1. AEx - AND gate
  2. BAND gate
  3. CEx-OR gate
  4. DOR gate
Show answerHide answer

Correct answer: (C) Ex-OR gate

Explanation

XOR gates on the B inputs pass B through when the control is 0 and invert it when the control is 1. With carry-in = 1, this gives 2's complement subtraction, so one circuit does both.

From DSSSB TGT Computer Science PYQ (Technical), 7 Aug 2021, Shift 3

This is question 29 of DSSSB TGT Computer Science PYQ (Technical), 7 Aug 2021, Shift 3. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.