Adders and Multipliers: GATE ECE practice questions with solutions

This topic covers half and full adders, ripple and carry-lookahead delay, two's complement subtraction and overflow, multipliers, Booth recoding and BCD addition. The 15 original questions follow the GATE EC format: 9 MCQ, 2 MSQ and 4 NAT, from 5 easy, 7 medium and 3 hard.

Three ideas to know:

  • The sum bit is the XOR and the carry is the AND.
  • A carry reaches a stage if it is generated there, or generated earlier and propagated through every stage in between.
  • Booth recoding acts at every change between 0 and 1, so isolated 1s cost two operations each.

It helps GATE EC and ECE students revising Digital Circuits for the exam or a semester test. Helpful background: Ripple-carry adder and Two's complement. Start with the 5 easy questions, then work up to the 3 hard ones.

Q.1

EasyMCQ1 mark

A half adder with inputs A and B produces a sum S and a carry C given by

  1. Option A: S = A ⊕ B, C = AB
  2. Option B: S = A + B, C = AB
  3. Option C: S = A ⊕ B, C = A + B
  4. Option D: S = AB, C = A ⊕ B
Show answer and solutionHide answer and solution

Answer: (A)

Key idea: The sum bit is the XOR and the carry is the AND.

1. 0 + 0 = 00, 0 + 1 = 01, 1 + 0 = 01 and 1 + 1 = 10 (carry, sum).

2. The sum bit is 1 when exactly one input is 1: A ⊕ B.

3. The carry is 1 only for 1 + 1: AB.

Common mistake: Using OR for the sum, option (B), which gives S = 1 for 1 + 1 although the sum bit there is 0.

You need: Binary addition, XOR

Q.2

EasyMCQ1 mark

A full adder has inputs A = 1, B = 1 and carry-in Cin = 1. Its outputs are

  1. Option A: S = 0, Cout = 1
  2. Option B: S = 1, Cout = 1
  3. Option C: S = 1, Cout = 0
  4. Option D: S = 0, Cout = 0
Show answer and solutionHide answer and solution

Answer: (B)

Key idea: A full adder outputs the 2-bit binary count of how many inputs are 1.

1. 1 + 1 + 1 = 3. 2. 3 = 11₂, so Cout = 1 and S = 1.

Common mistake: Adding only A and B (1 + 1 = 10) and ignoring Cin gives S = 0, Cout = 1, option (A).

You need: Full adder

Q.3

EasyNAT1 mark

A 4-bit ripple-carry adder is made of four full adders, each with a carry-in to carry-out delay of 2 ns. The worst-case delay from the carry-in of the first stage to the carry-out of the last stage is ______ ns.

Numerical answer: type a number.

Show answer and solutionHide answer and solution

Answer: 8

Key idea: In a ripple-carry adder the carry delay grows linearly with the number of bits.

1. The carry must pass through all four stages in turn. 2. 4 × 2 ns = 8 ns.

Common mistake: Taking one stage's delay, 2 ns, as if all stages switched at once.

You need: Ripple-carry adder, propagation delay

Q.4

EasyMCQ1 mark

A half subtractor computes A − B. Its borrow output is

  1. Option A: AB′
  2. Option B: A ⊕ B
  3. Option C: A′B
  4. Option D: AB
Show answer and solutionHide answer and solution

Answer: (C)

Key idea: A borrow happens when the subtrahend bit is larger than the minuend bit.

1. A borrow is needed only when 0 − 1 is attempted.

2. That is A = 0 and B = 1: the term A′B.

Common mistake: Writing AB′, option (A), which is 1 for 1 − 0, where no borrow is needed.

You need: Binary subtraction

Q.5

EasyMSQ1 mark

An n-bit binary adder (with a carry-in) and n inverters are available. Which of the following setups give A − B correctly in n-bit two's complement?

One or more options are correct.

  1. Option A: Add A and B′ (each bit of B inverted) with carry-in 1
  2. Option B: Add A and B with carry-in 1
  3. Option C: Add A and the two's complement of B with carry-in 0
  4. Option D: Add A and B′ with carry-in 0
Show answer and solutionHide answer and solution

Answer: (A) and (C)

Key idea: Subtraction is addition of the two's complement, and the carry-in is a free way to add the 1.

1. The two's complement of B is B′ + 1, so A − B = A + B′ + 1.

2. (A) supplies the + 1 through the carry-in: correct.

3. (C) adds the complete two's complement: correct.

4. (B) gives A + B + 1, and (D) gives A + B′ = A − B − 1.

Common mistake: Inverting B but forgetting the + 1, which picks (D) and gives a result one less than A − B.

You need: Two's complement, adder-subtractor

Q.6

MediumNAT2 marks

In a 16-bit ripple-carry adder, each full adder has a delay of 2 ns from any input to its carry-out and 3 ns from any input to its sum. All inputs arrive at time 0. The worst-case time at which the most significant sum bit S15 is valid is ______ ns.

Numerical answer: type a number.

Show answer and solutionHide answer and solution

Answer: 33

Key idea: The last sum waits for the carry from every earlier stage, then adds one sum delay.

1. The carry into stage 15 has passed through stages 0 to 14: 15 × 2 = 30 ns.

2. Stage 15 then needs 3 ns to produce its sum. 3. 30 + 3 = 33 ns.

Common mistake: Multiplying 16 stages by the carry delay gives 32 ns, which misses the final sum delay and counts one carry too many.

You need: Ripple-carry adder, critical path

Q.7

MediumMCQ2 marks

In a carry-lookahead adder with Gi = AiBi and Pi = Ai ⊕ Bi, the carry C2 into bit 2, written in terms of G1, P1, G0, P0 and C0, is

  1. Option A: G1 + G0 + C0
  2. Option B: G1P0 + G0C0
  3. Option C: P1 + P0G0 + C0
  4. Option D: G1 + P1G0 + P1P0C0
Show answer and solutionHide answer and solution

Answer: (D)

Key idea: A carry reaches a stage if it is generated there, or generated earlier and propagated through every stage in between.

1. C1 = G0 + P0C0.

2. C2 = G1 + P1C1.

3. Substituting: C2 = G1 + P1G0 + P1P0C0.

Common mistake: Dropping the propagate conditions and writing G1 + G0 + C0, option (A), which wrongly gives C2 = 1 for A1 = B1 = 0 whenever G0 = 1.

You need: Carry-lookahead adder

Q.8

MediumMCQ2 marks

Two 4-bit two's complement numbers, 0101 and 0100, are added in a 4-bit adder. The 4-bit result and the overflow status are

  1. Option A: 1001, overflow
  2. Option B: 1001, no overflow
  3. Option C: 0001, overflow
  4. Option D: 0001, no overflow
Show answer and solutionHide answer and solution

Answer: (A)

Key idea: Signed overflow is shown by the carry into the sign bit differing from the carry out, not by the carry out alone.

1. 0101 + 0100 = 1001, with no carry out of bit 3.

2. In two's complement, +5 + +4 = +9, which is outside −8 to +7.

3. Two positive operands gave a negative-looking result (1001 = −7), so there is overflow.

4. Equivalently, the carry into the sign bit (1) differs from the carry out (0).

Common mistake: Using the carry out of the adder as the overflow flag: it is 0 here, which suggests no overflow, option (B).

You need: Two's complement, overflow detection

Q.9

MediumNAT1 mark

An unsigned 4-bit × 4-bit array multiplier forms every partial-product bit with a 2-input AND gate. The number of AND gates needed is ______.

Numerical answer: type a number.

Show answer and solutionHide answer and solution

Answer: 16

Key idea: An n × m array multiplier has n·m partial-product bits.

1. Each of the 4 multiplier bits ANDs with each of the 4 multiplicand bits. 2. 4 × 4 = 16 partial-product bits, one AND gate each.

Common mistake: Adding the widths, 4 + 4 = 8, instead of multiplying them.

You need: Array multiplier

Q.10

MediumMCQ2 marks

The unsigned binary product 1101 × 1011 is

  1. Option A: 10011111
  2. Option B: 01111111
  3. Option C: 10001111
  4. Option D: 10101111
Show answer and solutionHide answer and solution

Answer: (C)

Key idea: Binary multiplication is shift-and-add, and the additions must carry.

1. 1101 = 13 and 1011 = 11. 2. 13 × 11 = 143. 3. 143 = 128 + 8 + 4 + 2 + 1 = 10001111. Check by shifting and adding: 1101 + 11010 + 1101000 = 13 + 26 + 104 = 143.

Common mistake: Combining the shifted partial products with XOR (no carries) gives 01111111, option (B).

You need: Binary multiplication

Q.11

MediumMSQ2 marks

A single-digit BCD adder adds 0111 (7) and 0110 (6) with no input carry. Which of the following statements are true?

One or more options are correct.

  1. Option A: A correction is needed because the binary sum is greater than 9
  2. Option B: A correction is needed only when the 4-bit binary adder produces a carry out
  3. Option C: The corrected BCD result is 0001 0011
  4. Option D: The correction adds 0110 to the binary sum
Show answer and solutionHide answer and solution

Answer: (A), (C) and (D)

Key idea: A BCD digit needs correction when the binary sum exceeds 9 or produces a carry.

1. 0111 + 0110 = 1101 = 13, with no carry out of the 4-bit adder. 2. 13 > 9, so a correction is needed, (A) true, and it is needed here even without a carry out, so (B) is false. 3. 1101 + 0110 = 1 0011: carry 1, digit 3, so the BCD result is 0001 0011 and (C) is true.

4. The correction is + 6 = 0110, so (D) is true.

Common mistake: Correcting only when there is a carry out, which leaves 1101 uncorrected here and selects (B).

You need: BCD addition

Q.12

MediumMCQ1 mark

A 4-bit adder-subtractor passes each bit of B through an XOR gate with a control input M, and M also drives the adder's carry-in. With M = 1, the circuit computes

  1. Option A: A + B
  2. Option B: A − B
  3. Option C: B − A
  4. Option D: A + B + 1
Show answer and solutionHide answer and solution

Answer: (B)

Key idea: XOR with 1 inverts, so one control line turns the adder into a subtractor.

1. With M = 1, each XOR inverts its B bit, giving B′.

2. The carry-in is 1.

3. The adder computes A + B′ + 1 = A − B in two's complement.

Common mistake: Seeing only the carry-in effect of M and forgetting that the XOR gates invert B gives A + B + 1, option (D).

You need: Adder-subtractor, two's complement

Q.13

HardNAT2 marks

An 8-bit multiplier uses radix-2 Booth recoding: scanning bit pairs (b_i, b_(i−1)) from the LSB with b_(−1) = 0, a pair 10 means subtract the multiplicand and 01 means add it. For the multiplier 01011010, the number of add or subtract operations is ______.

Numerical answer: type a number.

Show answer and solutionHide answer and solution

Answer: 6

Key idea: Booth recoding acts at every change between 0 and 1, so isolated 1s cost two operations each.

1. Bits from b7 to b0: 0 1 0 1 1 0 1 0, with b(−1) = 0.

2. Pairs from i = 0: (0,0) none; (1,0) subtract; (0,1) add; (1,0) subtract; (1,1) none; (0,1) add; (1,0) subtract; (0,1) add.

3. That is 6 operations.

Common mistake: Counting the 1 bits of the multiplier (4), which is what plain shift-and-add would need, not Booth.

You need: Booth's algorithm, two's complement

Q.14

HardMCQ2 marks

The 4-bit two's complement numbers 1101 (−3) and 0101 (+5) are multiplied by a signed multiplier. The 8-bit two's complement product is

  1. Option A: 1111 0001
  2. Option B: 0000 1111
  3. Option C: 1011 0001
  4. Option D: 0100 0001
Show answer and solutionHide answer and solution

Answer: (A)

Key idea: Signed multiplication must sign-extend or use signed correction; the 4-bit patterns are not unsigned numbers.

1. −3 × 5 = −15. 2. +15 = 0000 1111.

3. Invert and add 1: 1111 0000 + 1 = 1111 0001.

Common mistake: Multiplying the patterns as unsigned numbers, 13 × 5 = 65 = 0100 0001, option (D).

You need: Two's complement multiplication

Q.15

HardMCQ2 marks

For a 4-bit carry-lookahead adder built in two-level AND-OR form, consider the expression for C4 in terms of G3 to G0, P3 to P0 and C0. How many product terms does it have, and what is the largest AND-gate fan-in?

  1. Option A: 4 terms, largest fan-in 4
  2. Option B: 5 terms, largest fan-in 4
  3. Option C: 4 terms, largest fan-in 5
  4. Option D: 5 terms, largest fan-in 5
Show answer and solutionHide answer and solution

Answer: (D)

Key idea: Each extra lookahead stage adds one product term and one literal to the widest term.

1. C4 = G3 + P3G2 + P3P2G1 + P3P2P1G0 + P3P2P1P0C0.

2. That is 5 product terms (G3 counts as one).

3. The last term has 5 literals, so the largest AND gate has 5 inputs.

Common mistake: Leaving out the carry-in term P3P2P1P0C0 gives 4 terms with fan-in 4, option (A).

You need: Carry-lookahead adder

Past GATE questions on this topic