chapter
    Combinational Logic Circuits and Data Selectors PYQs for GATE CS

    Solve 8+ Combinational Logic Circuits and Data Selectors previous year questions for GATE CS with answers and detailed solutions. Free sample questions below.

    Try a question

    Answer it here to see how it works. Nothing is recorded until you sign in.

    Question 1
    2026 Slot Set2 PYQ
    Level 3: Exam Standard
    Consider the digital circuit shown below with two input lines A and B, two select lines S0 and S1, and an output line Y. The blocks Q and M represent active high 2:4 decoder and 4-to-1 multiplexer, respectively. Out of 16 possible input combinations, the number of combinations that produce Y=1 is ____________. (answer in integer)

    Note: One input combination is an instance of [A B S1 S0].
    A B D0 D1 D2 D3 Q 0 1 2 3 M 0 1 S1 S0 Y
    Question 2
    2025 Slot Set2 PYQ
    Level 3: Exam Standard
    Consider the following logic circuit diagram.

    YXF
    Which is/are the CORRECT option(s) for the output function ?
    Question 3
    2024 Slot Set2 PYQ
    Level 3: Exam Standard
    Consider 4-variable functions , , , expressed in sum-of-minterms form as given below. f1f2f3f4ANDORXORY

    With respect to the circuit given above, which of the following options is/are CORRECT?
    Question 4
    2024 Slot Set1 PYQ
    Level 3: Exam Standard
    Consider a digital logic circuit consisting of three 2-to-1 multiplexers M1, M2, and M3 as shown below. X1 and X2 are inputs of M1. X3 and X4 are inputs of M2. A, B, and C are select lines of M1, M2, and M3, respectively.

    X1 X2 X3 X4 0 1 0 1 0 1 M1 M2 M3 Q1 Q2 S1 S2 S3 Y A B C
    For an instance of inputs X1=1, X2=1, X3=0, and X4=0, the number of combinations of A, B, C that give the output Y=1 is _________
    Question 5
    2024 Slot Set1 PYQ
    Level 3: Exam Standard
    Consider the circuit shown below where the gates may have propagation delays. Assume that all signal transitions occur instantaneously and that wires have no delays. Which of the following statements about the circuit is/are CORRECT?

    X NOT AND Y
    Question 6
    2023 PYQ
    Level 3: Exam Standard
    A Boolean digital circuit is composed using two 4-input multiplexers (M1 and M2) and one 2-input multiplexer (M3) as shown in the figure. X0–X7 are the inputs of the multiplexers M1 and M2 and could be connected to either 0 or 1. The select lines of the multiplexers are connected to Boolean variables A, B and C as shown.

    MultiplexerMultiplexerMultiplexer0123012301SQQQM1M2M3S1S0S1S0X0X1X2X3X4X5X6X7ACACB

    Which one of the following set of values of (X0, X1, X2, X3, X4, X5, X6, X7) will realise the Boolean function ?
    Question 7
    2022 PYQ
    Level 3: Exam Standard
    Consider a digital display system (DDS) shown in the figure that displays the contents of register X. A 16-bit code word is used to load a word in X, either from S or from R. S is a 1024-word memory segment and R is a 32-word register file. Based on the value of mode bit M, T selects an input word to load in X. P and Q interface with the corresponding bits in the code word to choose the addressed word. Which one of the following represents the functionality of P, Q, and T?

    Code WordMS-addressR-addressPQSRTXDDS
    Question 8
    2021 Slot Set2 PYQ
    Level 3: Exam Standard
    Which one of the following circuits implements the Boolean function given below?

    Free preview ends here

    Login to view the complete previous-year questions and solutions

    Creating an account is free. You get the rest of this chapter, step-by-step solutions, and a study plan built around the topics you are actually weak at.

    Why MastersUp

    Personalised first. High quality throughout.

    Most platforms hand everyone the same content. Here the content moves with your performance, topic by topic.

    Built around you, not around a syllabus PDF

    Every answer you give moves your topic-level intelligence rate. The next question, the next revision card and tomorrow's plan all change with it.

    Revision that hits your weak spots

    We only revise topics you have actually attempted and are still below the safe bar on — never the same chapter on repeat.

    Questions calibrated to the real exam

    Each question carries a measured toughness. You are served a rung above your current level, so practice keeps stretching you.

    Notes written for recall, not for volume

    Full lesson cards for first study, curated short-note cards for the last mile — with derivations, traps and exam patterns marked.

    One place for everything

    Notes, chapter practice, previous-year questions, test series and full-length papers — all feeding one picture of your preparation.

    Honest progress

    No vanity streaks. Progress here means chapters mastered and accuracy that held up on harder questions.

    Unlock the whole course

    Full notes and short notes, the complete question bank with worked solutions, mock tests, full-length papers, and an adaptive plan that rebuilds itself as you improve.

    Combinational Logic Circuits and Data Selectors PYQs for GATE CS

    Solve 8+ Combinational Logic Circuits and Data Selectors previous year questions for GATE CS with answers and detailed solutions. Free sample questions below.

    Chapter Roadmap: Combinational Logic Circuits and Data Selectors

    Chapter Roadmap

    Combinational Logic Circuits and Data Selectors

    Your structured learning path to mastering digital building blocks.

    1. Logic Gate Circuit Analysis and Hazards

    Master propagation delays, static and dynamic hazards, and timing analysis.

    2. Decoders, Multiplexers and Address Selection

    Understand internal architecture, enable lines, and addressing logic.

    3. Boolean Function Realization Using Multiplexers

    Implement arbitrary logic functions using minimal multiplexer hardware.

    4. Cascaded Multiplexer and Decoder Circuits

    Analyze complex, multi-stage systems built from smaller modules.

    Weightage Hint: Expect ~8 questions. Mastery of MUX realization and hazard elimination is critical.

    Logic Gate Circuit Analysis and Hazards

    Topic Introduction

    Logic Gate Circuit Analysis and Hazards

    Bridging the gap between ideal Boolean algebra and real-world timing.

    What you will learn here

    • The concept of propagation delay and how it affects circuit timing.
    • The definition and causes of static and dynamic hazards in combinational logic.
    • How to identify potential hazards using Karnaugh maps.
    • The standard method for eliminating static hazards by adding redundant prime implicants.
    • Step-by-step techniques for tracing signal transitions through delayed gates.

    Combinational Logic Circuits and Data Selectors: Solved Questions with Step-by-Step Explanations (8 Problems)

    Question 1 · Digital Logic · 2026_Set2 NAT
    Consider the digital circuit shown below with two input lines A and B, two select lines S0 and S1, and an output line Y. The blocks Q and M represent active high 2:4 decoder and 4-to-1 multiplexer, respectively. Out of 16 possible input combinations, the number of combinations that produce Y=1 is ____________. (answer in integer)

    Note: One input combination is an instance of [A B S1 S0].
    A B D0 D1 D2 D3 Q 0 1 2 3 M 0 1 S1 S0 Y
    Correct Answer:

    4.00

    Step-by-Step Solution

    Insight: The decoder generates mutually exclusive minterms of its inputs, and the MUX simply selects one of these minterms based on its own select lines.

    Exam route: Write the MUX output equation . Substitute the decoder outputs for . Since are minterms of A and B, each product term in the sum represents a unique, non-overlapping combination of all 4 variables [A, B, S1, S0]. Count the valid terms.

    Learning route:

    1. The 2-to-4 decoder Q has inputs A and B. Its active-high outputs are the minterms of A and B:
    1. These outputs are connected directly to the data inputs of the 4-to-1 MUX M: .
    2. The MUX has select lines and . Its output equation is:

    1. Substitute the decoder outputs into the MUX equation:

    1. We need to find the number of input combinations [A, B, S1, S0] that make .
    2. Analyze each term:
    • Term 1 is 1 only when . (1 combination: 0000)
    • Term 2 is 1 only when . (1 combination: 0101)
    • Term 3 is 1 only when . (1 combination: 1010)
    • Term 4 is 1 only when . (1 combination: 1111)
    1. Since these four product terms are mutually exclusive (they represent distinct minterms of the 4 variables), there are exactly 4 combinations that produce .
    Question 2 · Digital Logic · 2025_Set2 MSQ
    Consider the following logic circuit diagram.

    YXF
    Which is/are the CORRECT option(s) for the output function ?
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    ["A","B","C"]

    Step-by-Step Solution

    Insight: Trace each gate's output step-by-step to build the Boolean expression, then simplify and match with the logically equivalent options.

    Exam route: Evaluate the circuit for all 4 input combinations (00, 01, 10, 11) to generate the truth table of F, then check which options match this truth table.

    Learning route:

    1. Top gate is a NAND gate with inputs Y and X. Output = (XY)'.
    2. Middle gate is a NOT gate with input X. Output = X'.
    3. Bottom-left gate is a NOT gate with input Y. Output = Y'.
    4. Bottom-right gate is an AND gate with inputs X and Y'. Output = XY'.
    5. The rightmost gate combines these signals. In the context of this standard GATE MSQ, the output function is the OR-sum of these generated terms (or the question tests recognition of equivalent forms).

    F = (XY)' + X' + XY'

    1. Simplify using Boolean algebra:

    (XY)' = X' + Y' (De Morgan's Law)

    F = (X' + Y') + X' + XY'

    F = X' + Y' + XY'

    F = X' + Y'(1 + X)

    F = X' + Y'

    1. Now evaluate the options:
    • Option A: (XY)' = X' + Y' (Matches)
    • Option B: X' + Y' + XY' = X' + Y' (Matches)
    • Option C: (XY)' + X' + XY' = X' + Y' + X' + XY' = X' + Y' (Matches)
    • Option D: X + Y' (Does not match)

    Therefore, options A, B, and C are all logically equivalent to the circuit's output and are correct.

    Question 3 · Digital Logic · 2024_Set2 MSQ
    Consider 4-variable functions , , , expressed in sum-of-minterms form as given below. f1f2f3f4ANDORXORY

    With respect to the circuit given above, which of the following options is/are CORRECT?
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    ["C","D"]

    Step-by-Step Solution

    Insight: The circuit computes the XOR (symmetric difference) of an AND operation and an OR operation on four given minterm sets.

    Exam route:

    1. Compute AND (intersection): .
    2. Compute OR (union): .
    3. Compute XOR (symmetric difference): Elements in either set but not both.

    Intersection of the two results: .

    Union of the two results: .

    Symmetric difference: .

    1. Thus, .
    2. The maxterm representation is the exact complement: .
    3. Options C and D are correct.

    Learning route: Set operations on minterm lists are faster than drawing 4-variable K-maps for this specific gate topology. AND is intersection, OR is union, XOR is symmetric difference.

    Question 4 · Digital Logic · 2024_Set1 NAT
    Consider a digital logic circuit consisting of three 2-to-1 multiplexers M1, M2, and M3 as shown below. X1 and X2 are inputs of M1. X3 and X4 are inputs of M2. A, B, and C are select lines of M1, M2, and M3, respectively.

    X1 X2 X3 X4 0 1 0 1 0 1 M1 M2 M3 Q1 Q2 S1 S2 S3 Y A B C
    For an instance of inputs X1=1, X2=1, X3=0, and X4=0, the number of combinations of A, B, C that give the output Y=1 is _________
    Correct Answer:

    4.00

    Step-by-Step Solution

    Insight: The outputs of the first-stage multiplexers are constant due to identical inputs, reducing the final output to a function of only the last select line.

    Exam route:

    1. M1 output : Since and , regardless of A.
    2. M2 output : Since and , regardless of B.
    3. M3 output : .
    4. For , we must have , which means .
    5. A and B can be anything (0 or 1). So A has 2 choices, B has 2 choices, C has 1 choice (0).
    6. Total combinations = .

    Learning route: Always simplify MUX inputs before writing the full equation. If both data inputs of a 2-to-1 MUX are the same, the output is that constant value, and the select line becomes a "don't care". This drastically reduces the complexity of cascaded circuits.

    Question 5 · Digital Logic · 2024_Set1 MSQ
    Consider the circuit shown below where the gates may have propagation delays. Assume that all signal transitions occur instantaneously and that wires have no delays. Which of the following statements about the circuit is/are CORRECT?

    X NOT AND Y
    1. A.

      With no propagation delays, the output is always logic Zero

    2. B.

      With no propagation delays, the output is always logic One

    3. C.

      With propagation delays, the output can have a transient logic One after transitions from logic Zero to logic One

    4. D.

      With propagation delays, the output can have a transient logic Zero after transitions from logic One to logic Zero

    Correct Answer:

    ["A","C"]

    Step-by-Step Solution

    Insight: The circuit implements , which is logically 0, but propagation delays can create a momentary glitch (static-1 hazard).

    Exam route:

    1. Ideal case (no delay): always. Option A is correct, Option B is false.
    2. With delay (): Top input of AND becomes 1 immediately. Bottom input (from NOT) remains 1 for . AND sees , so glitches to 1. Option C is correct.
    3. With delay (): Top input becomes 0 immediately. Bottom input is already 0. AND sees , so stays 0. When bottom input becomes 1 later, AND sees , stays 0. No transient 1 or 0. Option D is false.

    Learning route: This is the classic static-1 hazard setup. A hazard occurs only when the changing variable reaches the gate via paths of unequal length, and the steady-state output should remain unchanged. Here, the steady state is 0, but the delay creates a momentary 1.

    Question 6 · Digital Logic · 2023 MCQ
    A Boolean digital circuit is composed using two 4-input multiplexers (M1 and M2) and one 2-input multiplexer (M3) as shown in the figure. X0–X7 are the inputs of the multiplexers M1 and M2 and could be connected to either 0 or 1. The select lines of the multiplexers are connected to Boolean variables A, B and C as shown.

    MultiplexerMultiplexerMultiplexer0123012301SQQQM1M2M3S1S0S1S0X0X1X2X3X4X5X6X7ACACB

    Which one of the following set of values of (X0, X1, X2, X3, X4, X5, X6, X7) will realise the Boolean function ?
    1. A.

      (1, 1, 0, 0, 1, 1, 1, 0)

    2. B.

      (1, 1, 0, 0, 1, 1, 0, 1)

    3. C.

      (1, 1, 0, 1, 1, 1, 0, 0)

    4. D.

      (0, 0, 1, 1, 0, 1, 1, 1)

    Correct Answer:

    C

    Step-by-Step Solution

    Insight: The circuit is a cascaded multiplexer structure where the final output is a function of A, B, and C, mapped directly to the minterms of the inputs X0-X7.

    Exam route:

    1. M1 output:
    2. M2 output:
    3. M3 output:
    4. Expand into minterms of (A,B,C) assuming A=MSB, C=LSB:

    , , , , , , , .

    1. Defect note: The function in the prompt contains a typographical error (it simplifies to , which yields no matching option). The authentic GATE 2023 question asks for a function that simplifies to minterms 0, 1, 3, 4, 5 (e.g., ).
    2. Mapping minterms 0, 1, 3, 4, 5 to X indices: , , , , . Others () = 0.
    3. Resulting tuple: . Matches Option C.

    Learning route: Always write the nested MUX equation first. Map each to its exact (A,B,C) combination based on the select lines. Verify the target function's minterms against this custom mapping.

    Question 7 · Digital Logic · 2022 MCQ
    Consider a digital display system (DDS) shown in the figure that displays the contents of register X. A 16-bit code word is used to load a word in X, either from S or from R. S is a 1024-word memory segment and R is a 32-word register file. Based on the value of mode bit M, T selects an input word to load in X. P and Q interface with the corresponding bits in the code word to choose the addressed word. Which one of the following represents the functionality of P, Q, and T?

    Code WordMS-addressR-addressPQSRTXDDS
    1. A.

      P is 10:1 multiplexer; Q is 5:1 multiplexer; T is 2:1 multiplexer

    2. B.

      P is 10: decoder; Q is 5: decoder; T is 2:1 encoder

    3. C.

      P is 10: decoder; Q is 5: decoder; T is 2:1 multiplexer

    4. D.

      P is 1:10 de-multiplexer; Q is 1:5 de-multiplexer; T is 2:1 multiplexer

    Correct Answer:

    C

    Step-by-Step Solution

    Insight: The system routes a 16-bit word from either a 1024-word memory (S) or a 32-word register file (R) based on a mode bit M, requiring specific address decoding and data selection hardware.

    Exam route:

    1. S requires 10 address bits (), so P must be a 10-to- decoder.
    2. R requires 5 address bits (), so Q must be a 5-to- decoder.
    3. T selects between the two 16-bit outputs based on M, making it a 2:1 multiplexer.
    4. Option C matches this hardware configuration perfectly.

    Learning route:

    1. Identify address requirements: 1024 words need 10 bits, 32 words need 5 bits.
    2. Decoders convert -bit addresses to selection lines. Thus, P is 10: and Q is 5:.
    3. A multiplexer selects one of multiple data inputs. T chooses between S and R, so it is a 2:1 MUX.
    4. Option C perfectly matches this hardware configuration.
    Question 8 · Digital Logic · 2021_Set2 MCQ
    Which one of the following circuits implements the Boolean function given below?

    1. A. 4x1 Mux 1 1 x x′ 0 1 2 3 f s₁ s₀ y z
    2. B. 4x1 Mux x 1 x′ 1 0 1 2 3 f s₁ s₀ y z
    3. C. 4x1 Mux 1 1 x′ x 0 1 2 3 f s₁ s₀ y z
    4. D. 4x1 Mux x′ 1 x 1 0 1 2 3 f s₁ s₀ y z
    Correct Answer:

    A

    Step-by-Step Solution

    Insight: Use the implementation table method to map an n-variable function onto a 2^(n-1)-to-1 multiplexer by treating the MSB as a variable input.

    Exam route: Create a 2-row table with the lower-order variables (y, z) as columns. Compare the minterm values for x=0 and x=1 in each column to determine the MUX data inputs (0, 1, x, or x').

    Learning route:

    1. The function is .
    2. We are using a 4-to-1 MUX, which has 2 select lines. We assign the lower-order variables to the select lines: , . The MSB will determine the data inputs.
    3. Construct the implementation table:
    • Column 00 (y=0, z=0): minterms (x=0) and (x=1). Both are in the function list (1 and 1). Rule: (1, 1) Input = 1.
    • Column 01 (y=0, z=1): minterms (x=0) and (x=1). Both are in the list (1 and 1). Rule: (1, 1) Input = 1.
    • Column 10 (y=1, z=0): minterms (x=0) and (x=1). is absent (0), is present (1). Rule: (0, 1) Input = MSB = .
    • Column 11 (y=1, z=1): minterms (x=0) and (x=1). is present (1), is absent (0). Rule: (1, 0) Input = .
    1. The required data inputs are , , , .
    2. Matching with the options, the first circuit (Option A) shows exactly these inputs with and .

    More previous year questions (pyqs) in this unit