chapter
    Digital Logic PYQs for GATE CS

    GATE CS Digital Logic: 1 units and 4 chapters, weightage from 33 previous year questions across 10 papers, a study order by exam weight and 537 practice quest

    A question from this chapter

    Question 1
    2024 Slot Set2 PYQ
    Level 3: Exam Standard

    Which of the following is/are EQUAL to 224 in radix-5 (i.e., base-5) notation?

    Question 2
    2026 Slot Set2 PYQ
    Level 3: Exam Standard
    Which one of the following options is not a property of Boolean Algebra?

    Note: is OR operation, is AND operation, and is NOT operation
    Question 3
    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 4
    2026 Slot Set1 PYQ
    Level 3: Exam Standard
    Consider a 2-bit saturating up/down counter that performs the saturating up count when the input is 0, and the saturating down count when is 1. The Next State table of the counter is as shown. The counter is built as a synchronous sequential circuit using D flip-flops.

    InputCurrent
    State
    Next
    State
    00001
    00110
    01011
    01111
    10000
    10100
    11001
    11110


    Which one of the following options corresponds to the expressions for the inputs of the D flip-flops, and ?
    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.

    Digital Logic PYQs for GATE CS

    GATE CS Digital Logic: 1 units and 4 chapters, weightage from 33 previous year questions across 10 papers, a study order by exam weight and 537 practice questions.

    About Digital Logic Previous Year Questions (PYQs)

    33 previous year questions from Digital Logic in GATE CS, grouped by chapter with the exam year, answer key and step-by-step solution for each.

    GATE CS Digital Logic Unit-wise Weightage from Past Papers

    We counted every GATE CS Digital Logic previous year question in our bank (33 questions from 10 papers) and grouped them by unit.

    UnitChaptersPYQsShare of sectionAvg per paper
    Digital Logic433100%3.3

    Suggested Digital Logic Study Order for GATE CS

    1. Digital Logic: 100% of past Digital Logic questions, about 3.3 per paper.

    Start where the marks are. Units at the top of this list have appeared most often in past GATE CS papers.

    Units in GATE CS Digital Logic

    All Digital Logic chapters

    One Solved Question from Each Digital Logic Chapter

    Question 1 · Number Systems, Binary Arithmetic and Data Representation · 2024_Set2 MSQ

    Which of the following is/are EQUAL to 224 in radix-5 (i.e., base-5) notation?

    1. A.

      64 in radix-10

    2. B.

      100 in radix-8

    3. C.

      50 in radix-16

    4. D.

      121 in radix-7

    Correct Answer:

    ["A","B","D"]

    Step-by-Step Solution

    Insight: Convert the given Base 5 number to Base 10, then convert each option to Base 10 to check for equality.

    Exam route:

    1. .
    2. Check options in Base 10:

    A) . (Match)

    B) . (Match)

    C) . (No match)

    D) . (Match)

    Learning route:

    This is a multiple-select question testing base equivalence. The most efficient strategy is to anchor everything to Base 10.

    Step 1: Convert the target number to Base 10.

    .

    Step 2: Evaluate each option in Base 10.

    Option A: is already in Base 10. Value is 64. (Equal)

    Option B: . (Equal)

    Option C: . (Not equal)

    Option D: . (Equal)

    The correct options are A, B, and D.

    Question 2 · Boolean Algebra, Canonical Forms and Logic Minimization · 2026_Set2 MCQ
    Which one of the following options is not a property of Boolean Algebra?

    Note: is OR operation, is AND operation, and is NOT operation
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    B

    Step-by-Step Solution

    Insight: Recall the fundamental axioms of Boolean algebra, specifically the complement laws.

    Exam route: , not . The other options are standard commutative and complement laws.

    Learning route:

    Let's evaluate each option against the standard axioms of Boolean algebra:

    Option A: . This is the Commutative Law for OR. (Property)

    Option B: . The Complement Law states that a variable ANDed with its complement is always 0, not 1. (). (NOT a property)

    Option C: . This is the correct Complement Law for OR. (Property)

    Option D: . This is the Commutative Law for AND. (Property)

    Therefore, Option B is the only one that is not a valid property.

    Question 3 · Combinational Logic Circuits and Data Selectors · 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 4 · Flip-Flops, Counters and Finite State Machines · 2026_Set1 MCQ
    Consider a 2-bit saturating up/down counter that performs the saturating up count when the input is 0, and the saturating down count when is 1. The Next State table of the counter is as shown. The counter is built as a synchronous sequential circuit using D flip-flops.

    InputCurrent
    State
    Next
    State
    00001
    00110
    01011
    01111
    10000
    10100
    11001
    11110


    Which one of the following options corresponds to the expressions for the inputs of the D flip-flops, and ?
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    B

    Step-by-Step Solution

    Insight: For D flip-flops, the excitation input is exactly the next state (). We just need to map the given Next State table to K-maps for and and minimize them.

    Exam route: Build K-maps for and with variables . Fill in the 1s from the and columns. Group the 1s to get the SOP expressions. Match with the options.

    Learning route:

    Step 1: Understand the D flip-flop excitation. and .

    Step 2: Construct the K-map for .

    The minterms where are:

    (m1)

    (m2)

    (m3)

    (m7)

    Grouping these on a 3-variable K-map:

    • m3 and m7 form a pair
    • m1 and m3 form a pair
    • m2 and m3 form a pair

    Thus, .

    Step 3: Construct the K-map for .

    The minterms where are:

    (m0)

    (m2)

    (m3)

    (m6)

    Grouping these:

    • m2 and m6 form a pair
    • m0 and m2 form a pair
    • m2 and m3 form a pair

    Thus, .

    Step 4: Match with options. Option B matches both derived expressions perfectly.

    Verification: Plug in into Option B. . . This matches the table's Next State of 11.