GATE / CS ARCHIVE

SUBJECT COLLECTION

Digital Logic · Combinational Circuits

34 questions, newest first

GATE CSE has asked 34 questions on Combinational Circuits (Digital Logic) from 1992 to 2026, in 24 of the 46 papers; the most recent is in GATE CSE 2026 Set 2. In the last five years it carried 1.1 marks per 100-mark paper on average, against 0.8 since 2003. Since 2014 the questions have been 6 NAT, 4 MCQ and 1 MSQ. 8 groups of questions here are solved the same way; “One per method” keeps the newest of each.

Browse topics
2 marks · NAT
Report issue

Counting high outputs of a decoder and multiplexer

Combinational Circuits

Question 59, GATE 2026: A,B feed an active-high 2-to-4 decoder with outputs D0…D3. A 4-to-1 multiplexer, selected by S1S0, has input 0=D0, input 1=constant 0, input 2=constant 1, input 3=D3. Of all 16 assignments to A,B,S1,S0, how many give Y=1?
Tap to enlarge
Answer & solution

Official answer: 6

Givens and goal

A,B feed an active-high 2-to-4 decoder with outputs D0…D3. A 4-to-1 multiplexer, selected by S1S0, has input 0=D0, input 1=constant 0, input 2=constant 1, input 3=D3. Of all 16 assignments to A,B,S1,S0, how many give Y=1?

Approach

Partition by the two selector bits and count high outputs in each group.

Step-by-step solution

1. For every decoder input AB exactly one decoder output is high. In particular D0 is high for one of the four AB combinations, and D3 is high for one of the four. They correspond to 00 and 11 in the conventional ordering.
2. When S1S0=00, the multiplexer outputs D0, so exactly one AB assignment gives Y=1. When S1S0=01, it outputs the tied-low input and gives no high outputs.
3. When S1S0=10, it outputs the tied-high input, so all four AB assignments give Y=1. When S1S0=11, it outputs D3, contributing one more assignment.
4. The selector cases are disjoint and cover all 16 inputs. Add their favorable counts: 1+0+4+1=6. There is no need to multiply decoder and multiplexer probabilities or assume random inputs; this is a truth-table count.
5. The unused D1,D2 lines do not replace the constants tied directly to multiplexer inputs 1 and 2.

Original paper, page 40 · Answer key

1 mark · MSQ
Report issue

A propagation-delay glitch in X AND NOT X

Combinational Circuits

Question 28, GATE 2024: Input X branches directly to one input of an AND gate and through a NOT gate to the other; the AND output is Y. Wires have no delay and signal edges are instantaneous; gates may have delays. Which claims are correct? A With zero delays Y is always 0. B With zero delays Y is always 1. C With delays a 0→1 change of X can cause a brief 1 at Y. D With delays a 1→0 change of X can cause a brief 0 glitch at Y.
Tap to enlarge
Select all that apply
Answer & solution

Official answer: A, C

Approach: Distinguish the stable Boolean function from the timing behavior of two unequal signal paths.
1. With no delays, the two AND inputs are X and its exact complement. Their product is X·NOT X=0 for both X=0 and X=1. Therefore A is true and B is false.
2. Just before X rises, the inputs are (0,1). The direct input changes immediately to 1, but the inverter's output can remain 1 until its propagation delay expires. During that interval the AND sees (1,1).
3. If this overlap is long enough to propagate through the AND gate, Y briefly becomes 1 before returning to 0. The word “can” allows this timing condition; C is true, without claiming every pulse survives an inertial gate delay.
4. When X falls, the direct input becomes 0 immediately. The other input later rises from 0 to 1, but at no point are both 1. Y's stable level is already 0, so an interval at 0 is not a negative glitch.
Answer: A and C.

Original paper, page 18 · Answer key

2 marks · NAT
Report issue

Collapse constant-input multiplexers

Combinational Circuits

Question 64, GATE 2024: M1 selects X1 for A=0 and X2 for A=1, giving Q1. M2 selects X3 for B=0 and X4 for B=1, giving Q2. M3 selects Q1 for C=0 and Q2 for C=1, giving Y. With X1=X2=1 and X3=X4=0, how many assignments to (A,B,C) give Y=1?
Tap to enlarge
Answer & solution

Official answer: 4

Approach: Evaluate the first-stage multiplexers before enumerating the three select bits.
1. A 2-to-1 multiplexer outputs one of its two data inputs according to its select bit. Since both M1 inputs are 1, Q1=1 whether A is 0 or 1.
2. Both M2 inputs are 0, so Q2=0 whether B is 0 or 1.
3. The final multiplexer has data inputs Q1=1 on its 0 port and Q2=0 on its 1 port. Thus Y=(NOT C)·1+C·0=NOT C.
4. Therefore Y=1 exactly when C=0. A and B remain arbitrary, giving 2×2×1=4 assignments: (0,0,0), (0,1,0), (1,0,0), (1,1,0).
Answer: 4. Although there are three select bits, only C affects the output for these fixed data inputs. The port labels in the source determine which value of C produces 1.

Original paper, page 36 · Answer key

2 marks · MCQ
Report issue

Combinational Circuits

Question 44, GATE 2023: Two 4:1 muxes M1,M2 use select bits (S1,S0)=(A,C) and inputs X0..X3,X4..X7. A final mux selects M1 when B=0 and M2 when B=1. Set all Xi to constants to implement F=NOT A+(NOT A)(NOT C)+A(NOT B)C. Find the eight constants in order.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Both four-input muxes use select bits(A, C), while the final mux selects M1 for B=0 and M2 for B=1. For B=0, evaluating at AC=00, 01, 10, 11 gives 1, 1, 0, 1; for B=1 it gives 1, 1, 0, 0. Therefore(X0,…, X7)=(1, 1, 0, 1, 1, 1, 0, 0), option C.

Teaching detail. The mux address inside each 4:1 block is 2A+C. Thus each Xi is simply the desired output for one combination of A,C, with the block chosen by B. When A=0, the NOT A term forces output 1 irrespective of B,C, giving X0=X1=X4=X5=1. When A=1, the function reduces to (NOT B)C: it is zero for C=0 in both blocks, one only in the B=0,C=1 position. This independently obtains X2=X6=X7=0 and X3=1.

Original paper, page 46 · Answer key

2 marks · MCQ
Report issue

Combinational Circuits

Question 40, GATE 2022: A 16-bit control word contains mode M, an address for 1024-word memory S, and an address for 32-word register file R. Blocks P,Q select their addressed words; mode-controlled T selects one word to load display register X. Identify P,Q,T: A 10:1 mux,5:1 mux,2:1 mux; B 10:1024 decoder,5:32 decoder,2:1 encoder; C those two decoders and 2:1 mux; D 1:10 demux,1:5 demux,2:1 mux.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Selecting one of 1024 memory words requires a 10-to-1024 decoder P. Selecting one of 32 registers requires a 5-to-32 decoder Q. Mode bit M selects between the two data words through a 2-to-1 multiplexer T. The fields use 1+10+5=16 bits, consistent with the code word.

A decoder expands a binary address into one selected word line; log2(1024)=10 and log2(32)=5 give its input widths. T routes one of two data-word inputs to one output and is therefore a multiplexer, not an encoder. The mode wire is one select bit, making the complete instruction width 1+10+5=16.

Original paper, page 26 · Answer key

1 mark · MCQ
Report issue

Combinational Circuits

Question 5, GATE 2021: Implement f(x,y,z)=Σm(0,1,3,4,5,6), with x the most significant minterm bit, using a 4:1 mux with selectors S1=y,S0=z. Candidate input tuples (I0,I1,I2,I3): A (1,1,x,¬x); B (x,1,¬x,1); C (1,1,¬x,x); D (¬x,1,x,1).
Tap to enlarge
Your answer
Answer & solution

Official answer: A

With selectors y, z, the paired minterms for yz=00 and 01 both produce 1 for either x. For yz=10 only x=1 is included, so input 2 is x. For yz=11 only x=0 is included, so input 3 is ¬x. Therefore the four mux inputs are 1, 1, x,¬x, exactly A.

List truth values in selector groups: yz=00 selects minterms 0,4; yz=01 selects 1,5; yz=10 selects 2,6; yz=11 selects 3,7. Their outputs versus x are (1,1),(1,1),(0,1),(1,0). This is Shannon expansion with two selection variables. A gate equivalent is ¬y∨(x∧¬z)∨(¬x∧z), with redundant coverage allowed.

Original paper, page 57 · Answer key

1 mark · NAT
Report issue

Combinational Circuits

Question 19, GATE 2020: A multiplexer selects exactly one of 32 registers to transfer to an accumulator. What is the minimum number of binary select lines?
Tap to enlarge
Answer & solution

Official answer: 5

Worked explanation

With s binary selection inputs, a multiplexer can encode at most 2s choices. Four lines provide only 16 choices, fewer than the 32 register inputs. Five lines provide 32, exactly enough. This counts control lines; the register word width determines the data-path width and is irrelevant to this count. The accumulator is the common destination, not a 33rd selectable source.

Derivation and answer

Selecting one of 32 registers requires 32 distinct selector patterns. The minimum binary selector width is ceil(log₂32)=5.

Original paper, page 8 · Answer key

1 mark · NAT
Report issue

Combinational Circuits

Question 20, GATE 2020: A decoder with m input lines and n output lines uniquely addresses a byte-addressable 1 KB RAM. Find the minimum m+n.
Tap to enlarge
Answer & solution

Official answer: 1034

Worked explanation

Byte addressability means each byte is a separately selected location. Under the binary memory-size convention, 1 KB=210 bytes, so there must be 1024 distinct outputs in the one-hot address decoder. Its m input bits must encode all 1024 choices, requiring m=10. Thus n=1024 and m+n=1034. Do not confuse the RAM’s 8-bit data width with the number of decoder outputs: those outputs select addresses, not individual data bits.

Derivation and answer

A byte-addressable 1KB memory has 1024 distinct byte locations. A one-hot decoder needs 1024 output lines and log₂1024=10 address inputs. Thus m+n=10+1024=1034, using the conventional 1KB=1024 bytes.

Original paper, page 8 · Answer key

1 mark · NAT
Report issue

Combinational Circuits

Question 7, GATE 2016: An eight-bit ripple-carry adder adds two’s-complement integers A and B. With A=1, give the decimal B causing the longest latency for the sum to stabilize.
Tap to enlarge
Answer & solution

Official answer: -1.0 : -1.0

Our answer: −1; sum-only timing may also tie at 127

With A=00000001 and B=11111111 (−1), the low-order 1+1 generates a carry that propagates through all seven higher positions, giving the standard full-ripple worst case and official−1. If only the eight sum outputs matter and final carry-out is excluded, B=01111111 (127) also propagates the carry into the sign position and can tie the longest sum-settling delay under a conventional equal-delay full-adder model. Thus uniqueness depends on the precise output/timing model; −1 is a valid worst-case operand but need not be the only one.

At bit 0, 1+1 creates carry c1. At every higher bit of B=−1, A has 0 and B has 1, so the carry-propagate signal Ai XOR Bi is 1. Thus each carry waits on the previous stage. Binary 11111111 denotes −1, not 255, in the specified signed representation.

Original paper, page 27 · Answer key

2 marks · NAT
Report issue

Combinational Circuits

Question 65, GATE 2015: Construct a full adder from two half adders and an OR gate, and a four-bit ripple-carry adder from four such full adders. Each AND/OR gate delay is 1.2 microseconds; each XOR gate delay is 2.4 microseconds. Determine propagation delay, distinguishing a lumped full-adder timing model from gate-level overlapping propagation.
Tap to enlarge
Answer & solution

Official answer: 19.2

Our answer: Official19.2 uses lumped full-adder delays; gate-aware model gives 12

Each XOR delay is 2.4 microseconds and each AND/OR delay 1.2. A full adder made from two half adders has P=A XOR B, sum=P XOR Cin and Cout=AB+P*Cin. Its worst input-to-output delay is 4.8. Multiplying this black-box delay by four gives the published 19.2. However in a gate-aware ripple circuit all four P signals are computed in parallel. The first carry settles by 4.8, and each later carry needs only AND+OR=2.4 more, giving carry delays 4.8, 7.2, 9.6, 12; the last sum also settles by 9.6+2.4=12. Thus 19.2 is a conservative lumped-stage estimate, not the tight standard gate-level propagation bound under simultaneous operand arrival. A fixed zero initial carry or different arrival assumptions can further change sensitized timing. The intended timing model is not explicit.

At gate level all bit propagate signals P=A XOR B become ready after 2.4 microseconds, and generates G=AB after 1.2. The first carry using P·Cin followed by OR is ready after 4.8. Later carries traverse only an AND and OR using already-ready P, adding 2.4 each: 7.2, 9.6 and 12.0. The last sum is also ready at 9.6+2.4=12.0. By contrast, treating each full adder as a black box with worst-case delay 4.8 and multiplying by four gives the published 19.2. These calculations use different overlap assumptions; the source/key discrepancy must remain visible rather than silently selecting a timing model.

Original paper, page 51 · Answer key

1 mark · MCQ
Report issue

Combinational Circuits

Question 8, GATE 2014: A combinational block has inputs x,a,b and output y. It sets y=a when x=1, otherwise y=b. Which block best implements it? A full adder; B priority encoder; C multiplexer; D flip-flop.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Step 1: Express the two cases algebraically as y=xa+x̅b. Only one product term is enabled for any x. Step 2: This is a two-input data selector: x chooses between data inputs a and b. That is exactly a 2-to-1 multiplexer, C. Step 3: A full adder computes sums, a priority encoder encodes active-input priority, and a flip-flop stores state; no storage or arithmetic is required here.

Original paper, page 54 · Answer key

1 mark · MCQ
Report issue

Priority encoder truth table

Combinational Circuits

Question 5, GATE 2013: A circuit has inputs D0, D1, D2, D3 and outputs X0, X1, V. For0000 it outputs don’t-care, don’t-care, 0; for 1000 it outputs 0, 0, 1; for x100 it outputs 0, 1, 1; for xx10 it outputs 1, 0, 1; for xxx1 it outputs 1, 1, 1 (input order D0, D1, D2, D3). Identify A priority encoder; B decoder; C multiplexer; D demultiplexer.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

The table outputs the binary index of the highest asserted input, with D3 taking priority over D2, then D1 and D0. Its validity bit distinguishes no active input from input D0. Thus it is a priority encoder, A.

Read the table from highest priority downward. If D3=1, the other inputs are irrelevant and the code is 11. Otherwise D2=1 selects 10; otherwise D1=1 selects 01; otherwise D0=1 selects 00. This is encoding the index of the highest asserted request. A decoder expands a binary code to selected outputs, the reverse direction. A multiplexer selects a data input using separate select lines, not this priority rule. The validity bit is needed because code 00 otherwise cannot distinguish “D0 asserted” from “no input asserted.”

Original paper, page 2 · Answer key

1 mark · MCQ
Report issue

ROM capacity for a four-bit multiplier

Combinational Circuits

Question 19, GATE 2012: The amount of ROM needed to implement a 4 bit multiplier is
        (A) 64 bits             (B) 128 bits             (C) 1 Kbits             (D) 2 Kbits
Tap to enlarge
Your answer
Answer & solution

Official answer: D

Two four-bit operands supply eight address bits, so a ROM table needs 28=256 entries. Their product ranges up to 15×15=225 and needs eight output bits. Total ROM capacity is 256×8=2048 bits=2 Kbits, D, using binary K.

Check: The address is the concatenation of the two operands, not their sum, so four bits are insufficient to index all operand pairs. Although there are fewer distinct products than pairs, a direct ROM lookup still reserves one eight-bit output word for each of 256 addresses.

Original paper, page 4 · Answer key

1 mark · MCQ
Report issue

Four-to-one multiplexer parity

Combinational Circuits

Question 9, GATE 2010: A 4-to-1 multiplexer has data inputs I₀=R, I₁=¬R, I₂=¬R, I₃=R. The select inputs are S₁=P and S₀=Q (S₁ is the more significant selection bit). Find its output f.
Options: (A) ¬(P⊕Q⊕R); (B) P⊕Q⊕R; (C) P+Q+R; (D) ¬(P+Q+R).
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

The select bits are S₁=P and S₀=Q. Inputs 0 and 3 equal R, while inputs 1 and 2 equal R̄. Thus f=R when P=Q and f=R̄ when P≠Q, exactly f=P⊕Q⊕R, option B.

The four select combinations are PQ=00→R, 01→¬R, 10→¬R, 11→R. XOR with P⊕Q flips R exactly in the middle two cases, establishing the answer for both possible R values. For example P=Q=R=0 yields f=0, immediately excluding the complemented-XOR and complemented-OR choices.

Original paper, page 3

1 mark · MCQ
Report issue

Constructing a six-to-sixty-four decoder

Combinational Circuits

Question 8, GATE 2007: How many 3-to-8 line decoders, each with an enable input, are needed to build a 6-to-64 line decoder without other logic gates?
Options:
(A) 7
(B) 8
(C) 9
(D) 10
Tap to enlarge
Your answer
Answer & solution

Answer: C (no official key was published)

1. Approach. Split the six inputs into two groups of three. One decoder selects a bank, and each selected bank decodes the remaining three inputs.

2. Derivation and interpretation. One 3-to 8 decoder decodes the upper three bits into eight enable signals. Each enables one of eight further 3-to 8 decoders for the lower three bits. Total 1+8=9, C, assuming compatible enable/output polarities. Eight final decoders are required to provide 64 outputs, and another is needed to select their banks without extra gates.

Original paper, page 3

2 marks · MCQ
Report issue

Universal function realization with one mux

Combinational Circuits

Question 34, GATE 2007: Only one multiplexer and one inverter may implement an arbitrary Boolean function of n variables. What is the minimum universal multiplexer size?
Options:
(A) 2^n-to-1
(B) 2^(n+1)-to-1
(C) 2^(n−1)-to-1
(D) 2^(n−2)-to-1
Tap to enlarge
Your answer
Answer & solution

Answer: C (no official key was published)

1. Approach. Shannon expansion fixes selector variables and leaves a cofactor at each data input. If one variable remains, its only four Boolean functions are 0,1,x,x′, all available with constants, a wire and one inverter.

2. Derivation and interpretation. Use n−1 variables as selector bits of a 2n−1-to 1 multiplexer. For each selector assignment the remaining one-variable function is 0,1,x or x′, so a single shared inverter suffices. A smaller selector set leaves at least two variables; some cofactors, such as two-variable parity, cannot be supplied by a constant, a wire or one inversion. Thus the universal size under direct-variable selector wiring is 2n−1:1, C.

Original paper, page 7

2 marks · MCQ
Report issue

Carry-lookahead AND and OR counts

Combinational Circuits

Question 35, GATE 2007: For a 4-bit carry-lookahead adder, Pi=Ai⊕Bi, Gi=AiBi, Si=Pi⊕Ci and C_(i+1)=Gi+PiCi, where C0 is the input carry. All Pi and Gi are already available. With two-level AND–OR logic and unbounded gate fan-in, how many AND and OR gates are required for the carry generator used with outputs S3,S2,S1,S0,C4?
Options:
(A) 6 AND,3 OR
(B) 10 AND,4 OR
(C) 6 AND,4 OR
(D) 10 AND,5 OR
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

1. Approach. Expand every carry directly in terms of P,G,C0, avoiding a ripple chain. C1 has one product needing AND; C2 has two; C3 three; C4 four. The standalone Gi terms need no AND gates.

2. Derivation and interpretation. Expand C1=G0+P0C0; C2=G1+P1G0+P1P0C0; similarly C3 and C4 have 3 and 4 nontrivial product terms. With unbounded fan-in and all P,G supplied, the four carry outputs require 1+2+3+4=10 AND gates and one OR gate each, totaling 4 OR gates. Thus B. XOR sum generation is outside this AND/OR carry-generator count.

Original paper, page 8

2 marks · MCQ
Report issue

Two cascaded multiplexers

Combinational Circuits

Question 35, GATE 2006: Two 2:1 multiplexers are cascaded. The first has input 0=x, input 1=¬y and select=z. Its output drives input 0 of the second; second input 1=x and select=y. A select value of 0 chooses input 0. Which expression represents output f(x,y,z)? Here + means OR and juxtaposition AND.
Options:
(A) x¬z+xy+¬yz
(B) x¬z+xy+¬(yz)
(C) xz+xy+¬(yz)
(D) xz+x¬y+¬yz
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

1. The first mux outputs x¬z+¬yz. The second selects that output when y=0 and x when y=1, giving f=¬y(x¬z+¬yz)+xy=x¬y¬z+¬yz+xy.

2. By absorption/consensus this equals x¬z+xy+¬yz, option A. The first mux’s lower input is complemented y, not y.

3. Teaching check: For a 2:1 mux use output=¬select·input 0+select·input 1. Apply this formula first to z, then to y. Keeping the complemented lower input of the first mux is essential; overlooking that inversion changes the truth table.

Original paper, page 5

2 marks · MCQ
Report issue

Three-bit group carry generation

Combinational Circuits

Question 36, GATE 2006: Two three-bit unsigned words a₂a₁a₀ and b₂b₁b₀ are added with carry-in c. Which Boolean expression is the block carry-generate function (outgoing carry generated independently of c)? Here + means OR, juxtaposition AND, and ⊕ XOR. The expanded alternatives below follow the clearer GateForum typesetting.
Options:
(A) a₂b₂+a₂a₁b₁+a₂a₁a₀b₀+a₂a₀b₁b₀+a₁b₂b₁+a₁a₀b₂b₀+a₀b₂b₁b₀
(B) a₂b₂+a₂b₁b₀+a₂a₁b₁b₀+a₁a₀b₂b₁+a₁a₀b₂+a₁a₀b₂b₀+a₂a₀b₁b₀
(C) a₂+b₂+(a₂⊕b₂)(a₁+b₁+(a₁⊕b₁)(a₀+b₀))
(D) a₂b₂+¬a₂a₁b₁+¬(a₂a₁)a₀b₀+¬a₂a₀¬b₁b₀+a₁¬b₂b₁+¬a₁a₀¬b₂b₀+a₀¬(b₂b₁)b₀
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

1. Let gi=ai bi and pi=ai+bi. The carry generated independently of c0 is G=g2+p2g1+p2p1g0.

2. Expanding gives a2b2+a2a1b1+b2a1b1+a2a1a0b0+a2b1a0b0+b2a1a0b0+b2b1a0b0, the seven terms of A. This tests whether the three-bit sum generates an outgoing carry when c0=0, not whether an incoming carry propagates.

3. Teaching check: At one bit, carry-out is gᵢ+pᵢ·carry-in, where gᵢ=aᵢbᵢ and the OR-based propagation pᵢ=aᵢ+bᵢ is sufficient. Substitute this recurrence across bits 0,1,2 and collect the terms independent of the external carry. Those terms form the block generate function.

Original paper, page 5

2 marks · MCQ
Report issue

Realizing OR with a multiplexer

Combinational Circuits

Question 60, GATE 2004: A two-input mux selects data input X when control Z=0, and Y when Z=1. Which connections realize f=T+R without extra hardware?
Options:
(A) X=R,Y=1,Z=T
(B) X=T,Y=R,Z=T
(C) X=T,Y=R,Z=0
(D) X=R,Y=0,Z=T
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

1. A two-input mux computes Z′X+ZY. Set X=R,Y=1,Z=T: output=T′R+T=T+R by absorption.

2. When T=0 it passes R; when T=1 it outputs 1. These are precisely the two cases of OR, with no additional gate.

3. Teaching check: Mux select is a Shannon expansion: f=Z′X+ZY. Taking Z=T splits OR into f|T=0=R and f|T=1=1. This supplies the data connections directly, without trying every arbitrary wiring pattern.

Original paper, page 9

2 marks · MCQ
Report issue

Carry lookahead propagation depth

Combinational Circuits

Question 62, GATE 2004: A 4-bit carry-lookahead adder is built only from AND,OR,NOT,NAND,NOR gates. Inputs are supplied in true and complemented forms. Each gate has unit delay, and the carry network is a two-level AND–OR implementation. What is the overall propagation delay? The exact complement-generation/netlist convention is not specified.
Options:
(A) 4 time units
(B) 6 time units
(C) 10 time units
(D) 12 time units
Tap to enlarge
Your answer
Answer & solution

Answer: B under conventional parallel complemented-signal implementation (no official key was published)

1. With input complements supplied, pi=ai XOR bi and its complement can each be formed in two gate levels, while gi=ai bi needs one. Expanding each carry as an OR of generate/propagate products adds two levels after the propagate signals, so carries and their complements can be ready at time 4 (parallel OR/NOR outputs).

2. A sum si=pi XOR ci can then be realized in two further AND–OR levels using these true/complement signals, giving time 6. This is the conventional gate-delay model behind B; it assumes sufficient fan-in for the stipulated two-level carry network and parallel generation of needed complements.

3. The wording does not specify a unique netlist or minimum-area implementation; adding serial inversion or a three-level XOR implementation can produce a different delay, so 6 is not a delay guaranteed for every allowed circuit.

4. Teaching check: The critical path goes through propagate formation, the expanded carry network and sum formation. Under the conventional parallel true/complement implementation these cost 2+2+2 levels. A statement about this implementation is different from a universal claim about every legal gate netlist.

Original paper, page 9

1 mark · MCQ
Report issue

Array-multiplier propagation depth

Combinational Circuits

Question 11, GATE 2003: An array multiplier multiplies two n-bit numbers. Every gate has unit delay. What is its total propagation delay? A. Θ(1); B. Θ(log n); C. Θ(n); D. Θ(n²).
Tap to enlarge
Your answer
Answer & solution

Answer: C (no official key was published)

1. The relevant quantity is longest input-to-output path, not total gate count. Partial-product generation occurs in parallel, after which a regular array has a number of dependent addition levels proportional to operand width. Unit gate delay therefore makes the critical delay linear even though there are quadratically many partial-product cells.

2. A conventional array multiplier forms partial products in parallel and propagates carries/sums through a linear number of adder stages. With constant delay per gate/stage, its critical path is Θ(n), C. Its Θ(n²) hardware area does not imply quadratic propagation delay; a tree multiplier is a different architecture.

Original paper, page 2

2 marks · MCQ
Report issue

Multiplexer with an enable input

Combinational Circuits

Question 2.2, GATE 2002: A 4-to-1 multiplexer selects I₀,I₁,I₂,I₃ for A₁A₀=00,01,10,11 respectively. The diagram connects I₀=I₁=x, I₂=y, I₃=y′, A₁=y′, A₀=z, and enable EN=z′. Its output is f(x,y,z). Which function is implemented?
(A) xyz′; (B) xy+z; (C) x+y; (D) None of these.
The drawing labels EN as an enable input but does not explicitly state the disabled-output convention.
Question 2.2, GATE 2002: A 4-to-1 multiplexer selects I₀,I₁,I₂,I₃ for A₁A₀=00,01,10,11 respectively. The diagram connects I₀=I₁=x, I₂=y, I₃=y′, A₁=y′, A₀=z, and enable EN=z′. Its output is f(x,y,z). Which function is implemented?
(A) xyz′; (B) xy+z; (C) x+y; (D) None of these.
The drawing labels EN as an enable input but does not explicitly state the disabled-output convention.
Tap to enlarge
Your answer
Answer & solution

Answer: A under the conventional enable model (no official key was published)

Step 1: Split by enable, then by the select bit.

Step 2: For z=1, EN=0 and the assumed Boolean disabled output is 0. For z=0, A0=0; if y=0 then A1=1, selecting input I2=0, while y=1 makes A1=0 and selects I0=x. Thus the only way to output 1 is x=y=1,z=0. The explicit disabled-output convention is needed because a high-impedance device is not modeled by this truth table.

Conclusion: The shown connections are I0=I1=x, I2=y, I3=y′, A1=y′, A0=z, and EN=z′. With active-high enable and output forced 0 while disabled, z=1 makes f=0. When z=0, y=0 selects I2=0 and y=1 selects I0=x. Thus f=xyz′, A. A tristate disabled output would instead be high impedance; that behavior is not the Boolean-output model used here.

Original paper, page 3

2 marks · MCQ
Report issue

Composition of two multiplexers

Combinational Circuits

Question 2.11, GATE 2001: A 2:1 mux computes ac′+bc. First mux has a=1,b=0,c=x1. Its output supplies a of a second mux, whose b=x1 and c=x2. Choose f from x1′+x2; x1′x2+x1x2′; x1x2+x1′x2′; x1+x2′.
Tap to enlarge
Your answer
Answer & solution

Answer: C (no official key was published)

Step 1: The supplied mux equation is output=a·c′+b·c. In the first mux a=1,b=0,c=x1, so its output g=x1′.

Step 2: The second mux has a=g,b=x1,c=x2. Substitute to obtain f=x1′x2′+x1x2, an XNOR function.

Thus C. Its truth table is 1,0,0,1 for inputs 00,01,10,11, which also distinguishes it from XOR and the single-disjunction options.

Original paper, page 5

2 marks · MSQ
Report issue

Functionally complete component sets

Combinational Circuits

Question 2.9, GATE 1999: Choose universal component sets: A XOR and NOT; B 2:1 multiplexers; C AND and XOR; D gates AB+C.
Tap to enlarge
Select all that apply
Answer & solution

Answer: B,C if constants 0 and 1 are available (no official key was published)

A produces only affine Boolean functions, so it cannot express AND and is incomplete. For B, a mux with data inputs 1,0 implements NOT of its select; a mux with data 0,y and select x implements xy. NOT and AND are universal. For C, x XOR 1=¬x, again providing NOT plus AND. D is monotone, so compositions cannot implement inversion. Hence B,C under the usual available-constant convention. Without constant 1, B and C preserve zero and cannot produce NOT; the source does not explicitly state the constant-input convention, so this dependence is retained.

Original paper, page 4

2 marks · MSQ
Report issue

Ripple addition components

Combinational Circuits

Question 2.16, GATE 1999: Add two 16-bit numbers without an external carry-in. Choose the half/full-adder counts; B gives one half-adder and 15 full-adders.
Tap to enlarge
Select all that apply
Answer & solution

Answer: B (no official key was published)

The least-significant position adds only two operand bits, so a half-adder produces its sum and carry. Each of the remaining fifteen positions must add two operand bits plus the carry from the preceding position, requiring a full-adder. The total is therefore one half-adder and fifteen full-adders, B. Using half-adders alone would not handle three inputs at higher positions without extra combination logic. If an external carry-in were required at the first position, sixteen full-adders would be the natural implementation instead.

Original paper, page 5

1 mark · MCQ
Report issue

Multiplexer select width

Combinational Circuits

Question 1.14, GATE 1998: A multiplexer has four select bits. Is it 4:1, 2:1, 16:1, or 8:1?
Tap to enlarge
Your answer
Answer & solution

Answer: C (no official key was published)

Four binary select inputs encode 24=16 distinct combinations. A conventional fully populated multiplexer uses each combination to select one data input and forwards it to one output. Thus it is 16:1, C. The select width is logarithmic in the number of data inputs; it is not itself the input count. A partially populated design could leave codes unused, but that is not the usual mux designation.

Original paper, page 2

2 marks · MCQ
Report issue

Adder conversion circuit

Combinational Circuits

Question 2.21, GATE 1996: The pictured four-bit adder receives b3…b0 and adds 0100 when b3b2=1, otherwise 0000; carry-in is zero. Its five output bits represent which conversion?
Tap to enlarge
Your answer
Answer & solution

Answer: D: binary to radix 12 (no official key was published)

The condition b3b2=1 holds exactly for input values 12 through 15. For inputs 0 through 11, adding zero leaves the low four-bit digit unchanged and the carry zero. For inputs 12 through 15, adding four produces 16 through 19, so the output is carry 1 with low digit 0 through 3. Interpreting these as radix-12 digits gives 10₁₂ through 13₁₂, equal to decimal 12 through 15. BCD would instead correct at decimal 10 and add six, so it does not match this wiring.

Original paper, page 6

2 marks · MCQ
Report issue

Four-to-one mux parity function

Combinational Circuits

Question 2.22, GATE 1996: A,B select mux inputs 0…3. In GFG the data inputs are C,¬C,¬C,C. Find f; the alternate loses the complement bars.
Tap to enlarge
Your answer
Answer & solution

Answer: C: A⊕B⊕C (no official key was published)

When A=B, select 0 or 3, so f=C. When A≠B, select 1 or 2, so f=¬C. Thus f equals C toggled precisely when A⊕B=1, giving A⊕B⊕C. This evaluates all four selector cases and proves the parity expression. Both source readings are disclosed rather than silently treating the damaged alternate as identical.

Original paper, page 6

Descriptive
Report issue

Select four Boolean functions

Combinational Circuits

Question 5, GATE 1996: Inputs A,B and control bits C1,C0 specify F: 00→NOT(A OR B), 01→A OR B, 10→A XOR B, 11→A AND B. Implement using one 4:1 multiplexer, one two-input OR, one XOR, one AND, and one inverter. This is the complete GFG table; GateForum omits the last row.
Tap to enlarge
Answer & solution

Answer: MUX selects I0=NOT(A+B), I1=A+B, I2=A XOR B, I3=AB with selectors C1,C0. (no official key was published)

First compute P=A OR B using the single OR gate. Fan out P to the multiplexer input I1 and to the inverter; connect the inverter output NOT(P) to I0. Compute X=A XOR B with the XOR gate and connect it to I2. Compute G=A AND B with the AND gate and connect it to I3. Use C1 as the high-order select bit and C0 as the low-order select bit. The multiplexer output is F.

Text circuit: A,B→OR→P→I1; P→NOT→I0; A,B→XOR→I2; A,B→AND→I3; (C1,C0)→MUX select; MUX→F. A common wire may drive multiple inputs, so sharing the OR result does not require another gate.

The four select codes choose I0,I1,I2,I3 respectively, directly reproducing the complete table. Algebraically F=(NOT C1)(NOT C0)NOT(P)+(NOT C1)C0P+C1(NOT C0)X+C1C0G. These outer products describe the multiplexer and do not demand extra physical gates.

Original paper, page 7

Descriptive
Report issue

Stuck-at fault test

Combinational Circuits

Question 12(b), GATE 1994: A first NAND gate takes A,B and drives line p; a second NAND takes p,C. Line p is stuck at 1. Determine an input test that detects the fault.
Tap to enlarge
Answer & solution

Answer: A=B=C=1. (no official key was published)

1. Excite the fault by making the healthy p=0. Since p=NOT(A AND B), this requires A=B=1.

2. Propagate the discrepancy through the second NAND by setting its other input C=1. A controlling zero on C would mask p.

3. Healthy output is NOT(0·1)=1; faulty output is NOT(1·1)=0, so output comparison detects the fault.

Diagram / structural description

A,B → NAND → p → NAND → output; C is the second input of the latter NAND. Both gates have output inversion bubbles.

Original paper, page 5

5 marks · Descriptive
Report issue

Functional completeness of half adders

Combinational Circuits

Question 9, GATE 1993: Only half adders are available. Show how any binary Boolean function can be implemented using them. The source does not specify whether fixed logic inputs are allowed.
Tap to enlarge
Answer & solution

Answer: Universal with a fixed logic-1 input; false for constant-free combinational half-adder networks. (no official key was published)

A half adder on inputs x,y produces S=x XOR y and C=xy. Its carry output directly implements AND. If a fixed logic 1 is allowed as an input, its sum output on (x,1) is NOT x. Thus half adders provide the functionally complete basis {AND,NOT}. For example OR follows from De Morgan: x OR y = NOT((NOT x) AND (NOT y)). A concrete four-half-adder OR network uses H1(x,1).sum=nx, H2(y,1).sum=ny, H3(nx,ny).carry=z, H4(z,1).sum=x OR y; unused outputs may be ignored. Fan-out and tied inputs are permitted wiring operations, not additional gates.

To implement any two-input truth table f, form the minterms NOT x AND NOT y, NOT x AND y, x AND NOT y, and x AND y. OR together exactly those minterms whose truth-table rows have output 1. Each minterm uses available NOT/AND networks, and each OR uses the construction above. Empty selection gives constant 0, obtainable as H(x,x).sum; all four selected give constant 1. The same sum-of-products argument works for any finite number of Boolean inputs.

There is an essential qualification: without an independent logic-1 supply (or another non-zero-preserving primitive), the claim is false. Both half-adder outputs are 0 when both inputs are 0. By induction in topological order, every signal in a finite combinational network of such half adders is 0 when all external variables are 0. Therefore it cannot compute NOT x or the constant-1 function. Tying both inputs to the same variable gives XOR=0 and AND=x, not a source of 1. Feedback without a specified initial state is not a valid general combinational implementation. The intended universality proof consequently requires explicit permission to supply constant 1.

Original paper, page 10

Report issue

Universality of muxes and half adders

Combinational Circuits

Question 2(ii), GATE 1992: Which can realize arbitrary digital Boolean functions: XOR gates, multiplexers, half adders, OR gates? State constant-input assumptions.
Question 2(ii), GATE 1992: Which can realize arbitrary digital Boolean functions: XOR gates, multiplexers, half adders, OR gates? State constant-input assumptions.
Tap to enlarge
Select all that apply
Answer & solution

Answer: B, C for combinational functions with constants available (no official key was published)

A multiplexer implements Shannon expansion f=¬s f0+s f1, so recursively selecting cofactors realizes any Boolean function with constant leaves. A half adder supplies XOR and AND; tying one XOR input to 1 gives NOT, and AND plus NOT is functionally complete. XOR-only networks remain affine, while OR-only networks cannot implement negation. Thus B, C follow when constants, especially 1, are available. Without a supplied 1, mux and half-adder networks are zero-preserving and cannot realize every function. Also sequential circuits require state/feedback assumptions beyond combinational functional completeness; the source’s “all digital circuits” is broader than the standard intended claim.

Original paper, page 1

Descriptive
Report issue

Priority encoder with multiplexers

Combinational Circuits

Question 4(b), GATE 1992: Design a three-input priority encoder with A>B>C using 4:1 multiplexers. Output X1X0 identifies the highest-priority active input, and is 00 if none is active.
Tap to enlarge
Answer & solution

Answer: Choose A→11, B→10, C→01. Use two 4:1 MUXes, selects A,B; X1 inputs (0,1,1,1), X0 inputs (C,0,1,1). (no official key was published)

The statement does not assign binary labels to A, B, C, so explicitly choose A→11, B→10 and C→01, reserving 00 for no request. Any distinct nonzero assignment is valid if stated and implemented consistently.

The compressed truth table is:
A B C | X1 X0
1 – – | 1 1
0 1 – | 1 0
0 0 1 | 0 1
0 0 0 | 0 0
A higher-priority 1 hides all lower-priority inputs. The resulting functions are X1=A∨B and X0=A∨(¬B∧C).

For both 4:1 multiplexers use select S1=A, S0=B, with D0,D1,D2,D3 selected by 00,01,10,11 respectively. Evaluate each function at these four selector values:

                    D0 D1 D2 D3
MUX for output X1:   0  1  1  1
MUX for output X0:   C  0  1  1

Wiring diagram

A,B ──selects──>[4:1 MUX, data 0,1,1,1]──>X1
A,B ──selects──>[4:1 MUX, data C,0,1,1]──>X0

Tie 0 and 1 inputs to valid logic rails and enable both multiplexers. No inverter is needed in this realization. For example A=0,B=1,C=1 selects D1 and gives 10, correctly ignoring C. A=1 selects either D2 or D3 and always gives 11.

Original paper, page 5