GATE CS Digital Logic PYQ with Solutions

Also searched as: GATE DL PYQ · GATE Digital Electronics PYQ · GATE K-Map PYQ

All 37 Digital Logic questions from every GATE Computer Science (CS/CSE) paper from 2021 to 2026, both sets where there were two, with the official answer key and a step-by-step solution. Digital Logic carries about 5.7 marks per paper on average. Questions are grouped chapter-wise, newest paper first.

Digital Logic — average marks per paper
202620252024202320222021
6.574636.5

Digital Logic: Number System — GATE CS PYQ (10)

  1. GATE CS 2026 Set 1 · Q22Digital Logicmsq1 mark
    Consider the 8-bit signed integers , and represented using the sign-magnitude form. The binary representations of and are as follows: X: 10110100 Y: 01001100 Which of the following operations to compute result(s) in an arithmetic overflow?
    • A.
    • B.
      ✓
    • C.
      ✓
    • D.

    Answer: B, C

    Solution

    Answer: B, C 8-bit sign-magnitude covers . : sign 1, magnitude , so . . • (A) : fits. • (B) : overflow, because −128 has no sign-magnitude form in 8 bits. • (C) : overflow. • (D) : fits.
    Open GATE CS 2026 Set 1 Q22 · discuss this question →
  2. GATE CS 2026 Set 1 · Q36Digital Logicmcq2 marks
    Consider the real valued variables X, Y and Z represented using the IEEE 754 single-precision floating-point format. The binary representations of X and Y in hexadecimal notation are as follows: X: 35C00000 Y: 34A00000 Let . Which one of the following is the binary representation of , in hexadecimal notation?
    • A.
      35C80000
    • B.
      35CC0000
    • C.
      35E80000
      ✓
    • D.
      35EC0000

    Answer: C

    Solution

    Answer: (C) 35E80000 Both X and Y are positive (sign bit ) single-precision numbers; bias , so the true exponent is .
         hex     | exponent field  | mantissa | value
    -------------+-----------------+----------+----------------
    X  35C00000  | 0110 1011 = 107 | 1000...  | 1.1b  x 2^-20
    Y  34A00000  | 0110 1001 = 105 | 0100...  | 1.01b x 2^-20
    Decoding each number:
    Align both to the larger exponent and add the mantissas:
    This is already normalised (), so the exponent stays and the stored mantissa is Assemble the 32 bits:
    sign  exponent   mantissa (23 bits)
     0    01101011   1101000 00000000 00000000
    Regroup into nibbles: 0011 0101 1110 1000 0000 0000 0000 0000 = 0x35E80000. Decimal check: , and (scaled by ). Matches option (C).
    Open GATE CS 2026 Set 1 Q36 · discuss this question →
  3. GATE CS 2025 Set 1 · Q25Digital Logicmsq1 mark
    The number can be represented as in 4-bit 2's complement representation. Which of the following is/are CORRECT 2's complement representation(s) of ?
    • A.
      1000 1010 in 8-bits
    • B.
      1111 1010 in 8-bits
      ✓
    • C.
      1000 0000 0000 1010 in 16-bits
    • D.
      1111 1111 1111 1010 in 16-bits
      ✓

    Answer: B, D

    Solution

    Answer: (B) and (D) To widen a 2's complement number, perform sign extension: copy the sign bit (here , since the number is negative) into all the new high-order bits. → - 8-bit: → (B). - 16-bit: → (D). Options (A) and (C) pad with s (or a stray ), which changes the value and is incorrect.
    Open GATE CS 2025 Set 1 Q25 · discuss this question →
  4. GATE CS 2024 Set 1 · Q47Digital Logicmsq2 marks
    . Which statements is/are CORRECT?
    • A.
      ✓
    • B.
      ✓
    • C.
      is independent of
    • D.
      is independent of

    Answer: A, B

    Solution

    Answer: (A) and (B) is the majority function (output 1 when at least two of are 1). - (A) The complementary minterms are , so (maxterm form). TRUE. - (B) Majority . TRUE. - (C),(D) Majority depends on all three variables. FALSE.
    Open GATE CS 2024 Set 1 Q47 · discuss this question →
  5. GATE CS 2023 · Q32Digital Logicnat1 mark
    A number is written as 132 in radix-4. The same number in radix-5 is __________

    Answer: 110

    Solution

    Answer: 110 . Convert to base 5: .
    Open GATE CS 2023 Q32 · discuss this question →
  6. GATE CS 2022 · Q18Digital Logicmcq1 mark
    R1 and R2 are 4-bit 2's complement registers. For R1+R2, which values give an arithmetic overflow?
    • A.
      R1 = 1011 and R2 = 1110
    • B.
      R1 = 1100 and R2 = 1010
      ✓
    • C.
      R1 = 0011 and R2 = 0100
    • D.
      R1 = 1001 and R2 = 1111

    Answer: B

    Solution

    Answer: (B) R1 = 1100 and R2 = 1010 Overflow in 2's complement occurs when two same-sign operands produce a different-sign result (range to ). and : sum , outside -> overflow. The others stay in range: (A) ok, (C) ok, (D) ok.
    Open GATE CS 2022 Q18 · discuss this question →
  7. GATE CS 2021 Set 1 · Q16Digital Logicmcq1 mark
    Let the representation of a number in base 3 be 210. What is the hexadecimal representation of the number?
    • A.
      15
      ✓
    • B.
      21
    • C.
      D2
    • D.
      528

    Answer: A

    Solution

    .
    Open GATE CS 2021 Set 1 Q16 · discuss this question →
  8. GATE CS 2021 Set 1 · Q34Digital Logicnat1 mark
    Consider the following representation of a number in IEEE 754 single-precision floating point format with a bias of 127.
    Here , and denote the sign, exponent and fraction components of the floating point representation. The decimal value corresponding to the above representation (rounded to 2 decimal places) is ______.

    Answer: -7.75

    Solution

    (negative). , so exponent . Mantissa . Value .
    Open GATE CS 2021 Set 1 Q34 · discuss this question →
  9. GATE CS 2021 Set 2 · Q14Digital Logicmcq1 mark
    Consider a single-precision floating point format (IEEE 754) with 1 sign bit, 8 exponent bits (bias 127), and 23 mantissa bits. Which one of the following choices gives the representation of the smallest positive normalized number?
    • A.
      Exponent all zeros, mantissa all zeros
    • B.
      Exponent all zeros, mantissa all ones
    • C.
      Exponent = 00000001, mantissa all zeros
      ✓
    • D.
      Exponent = 11111110, mantissa all ones

    Answer: C

    Solution

    The smallest positive normalized number uses the smallest valid normalized exponent field with the mantissa all zeros, giving .
    Open GATE CS 2021 Set 2 Q14 · discuss this question →
  10. GATE CS 2021 Set 2 · Q28Digital Logicnat1 mark
    If and are two decimal digits and , the decimal value of is ______.

    Answer: 3

    Solution

    . So , giving and .
    Open GATE CS 2021 Set 2 Q28 · discuss this question →

Digital Logic: Sequential Circuit — GATE CS PYQ (8)

  1. GATE CS 2026 Set 1 · Q37Digital Logicmcq2 marks
    Consider a 2-bit saturating up/down counter that performs the saturating up count when the input P is 0, and the saturating down count when P 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. Next State table (present state → next state ):
     P | Q1 Q0 | Q1+ Q0+
    ---+-------+--------
     0 | 0  0  |  0   1 
     0 | 0  1  |  1   0 
     0 | 1  0  |  1   1 
     0 | 1  1  |  1   1 
     1 | 0  0  |  0   0 
     1 | 0  1  |  0   0 
     1 | 1  0  |  0   1 
     1 | 1  1  |  1   0 
    Which one of the following options corresponds to the expressions for the inputs of the D flip-flops, and ?
    • A.
    • B.
      ✓
    • C.
    • D.

    Answer: B

    Solution

    Answer: (B) For a D flip-flop, . Plot each next-state column on a 3-variable K-map, with minterm index . at minterms 1, 2, 3, 7. at minterms 0, 2, 3, 6. and . This matches (B) term for term. Shortcut: at state 00 with the counter must go to 01, so . Only (B) has a term that gives this.
    GATE CS 2026 Set 1 Question 37 solution figure
    Open GATE CS 2026 Set 1 Q37 · discuss this question →
  2. GATE CS 2025 Set 1 · Q59Digital Logicnat2 marks
    Consider a finite state machine (FSM) with one input and one output , given by the state transition table. The minimum number of states required to realize this FSM is ________. (Answer in integer)
    Present | Next (X=0) | Next (X=1) | f(X=0) | f(X=1)
    --------+------------+------------+--------+-------
      A     |     F      |     B      |   0    |   0
      B     |     D      |     C      |   0    |   0
      C     |     F      |     E      |   0    |   0
      D     |     G      |     A      |   1    |   0
      E     |     D      |     C      |   0    |   0
      F     |     F      |     B      |   1    |   1
      G     |     G      |     H      |   0    |   1
      H     |     G      |     A      |   1    |   0

    Answer: 5

    Solution

    Answer: 5 Minimize by partition refinement (group states that are indistinguishable). Initial grouping by output : (0,0), (1,0), (1,1), (0,1). Refine by where their transitions lead: go to while go to → split into and . stay together (both: , ). Final partition: — and it is stable. So the minimized machine has states.
    Open GATE CS 2025 Set 1 Q59 · discuss this question →
  3. GATE CS 2025 Set 1 · Q60Digital Logicnat2 marks
    Consider the given sequential circuit designed using D flip-flops. The circuit is initialized with some value (initial state). The number of distinct states the circuit will go through before returning back to the initial state is _________. (Answer in integer)
    GATE CS 2025 Set 1 Question 60 figure

    Answer: 7 to 8

    Solution

    Answer: 8 The outputs are connected as a shift register , and the complemented last output feeds back to the first: . This is a 4-bit Johnson (twisted-ring) counter. Starting from the state sequence is:
    0000 -> 1000 -> 1100 -> 1110 -> 1111 -> 0111 -> 0011 -> 0001 -> (0000)
    which visits distinct states ( for flip-flops) before repeating.
    Open GATE CS 2025 Set 1 Q60 · discuss this question →
  4. GATE CS 2025 Set 2 · Q34Digital Logicnat1 mark
    In a 4-bit ripple counter, if the period of the waveform at the last flip-flop is 64 microseconds, then the frequency of the ripple counter in kHz is ________. (Answer in integer)

    Answer: 250

    Solution

    Answer: 250 In a 4-bit ripple counter, the last (MSB) flip-flop divides the input clock frequency by , so its period is the input clock period. Input clock period . The counter (clock) frequency
    Open GATE CS 2025 Set 2 Q34 · discuss this question →
  5. GATE CS 2023 · Q21Digital Logicmcq1 mark
    The output of a 2-input multiplexer is connected back to one of its inputs (input 0), with the other input being data and S the select line, as shown. This circuit is functionally equivalent to a
    GATE CS 2023 Question 21 figure
    • A.
      D Flip-flop
    • B.
      D Latch
      ✓
    • C.
      Half-adder
    • D.
      Demultiplexer

    Answer: B

    Solution

    Answer: (B) D Latch When the mux passes the data input (transparent), and when it passes the fed-back output (holds the previous value). This level-sensitive "pass when enabled, hold otherwise" behaviour is exactly a D latch (not an edge-triggered flip-flop).
    Open GATE CS 2023 Q21 · discuss this question →
  6. GATE CS 2023 · Q43Digital Logicmcq2 marks
    A circuit uses T, D, T flip-flops with outputs Q1, Q2, Q3 (initially 0,1,1). Which value of (Q1,Q2,Q3) can NEVER be obtained?
    GATE CS 2023 Question 43 figure
    • A.
      (0, 0, 1)
      ✓
    • B.
      (1, 0, 0)
    • C.
      (1, 0, 1)
    • D.
      (1, 1, 1)

    Answer: A

    Solution

    Answer: (A) (0, 0, 1) Deriving the next-state equations from the flip-flop connections and simulating the state sequence starting from shows the circuit cycles through a fixed set of states. The state never appears in that reachable sequence, so it can never be obtained.
    Open GATE CS 2023 Q43 · discuss this question →
  7. GATE CS 2021 Set 1 · Q38Digital Logicmcq2 marks
    Consider a 3-bit counter, designed using T flip-flops, as shown in the figure. Assuming the initial state of the counter given by PQR as 000, what are the next three states?
    GATE CS 2021 Set 1 Question 38 figure
    • A.
      011, 101, 000
      ✓
    • B.
      001, 010, 111
    • C.
      011, 101, 111
    • D.
      001, 010, 000

    Answer: A

    Solution

    Deriving the T inputs from the circuit and applying them from PQR = 000 produces the state sequence 011, 101, 000.
    Open GATE CS 2021 Set 1 Q38 · discuss this question →
  8. GATE CS 2021 Set 2 · Q38Digital Logicmcq2 marks
    Suppose we want to design a synchronous circuit that processes a string of 0's and 1's. Given a string, it produces another string by replacing the first 1 in any subsequence of consecutive 1's by a 0. For example, input 00100011000011100 produces output 00000001000001100. The circuit is a two-state Mealy machine with states represented by Boolean values 0 and 1. Let denote the current state, next state, the next incoming bit, and the output bit respectively. The initial state is 0. What are the Boolean expressions for and in terms of and ?
    • A.
    • B.
      ✓
    • C.
    • D.

    Answer: B

    Solution

    State 1 means "currently inside a run of 1s (first 1 already replaced)". Next state is 1 exactly when the incoming bit , so . The output is 1 (keep the bit) only when already inside a run and the bit is 1, i.e. ; the first 1 of a run () is output as 0.
    Open GATE CS 2021 Set 2 Q38 · discuss this question →

Digital Logic: Combinational Circuit — GATE CS PYQ (7)

  1. GATE CS 2026 Set 2 · Q59Digital Logicnat2 marks
    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 an active-high 2:4 decoder and a 4-to-1 multiplexer, respectively. Out of 16 possible input combinations, the number of combinations that produce is __________. (answer in integer) Note: One input combination is an instance of [A B S1 S0].
    GATE CS 2026 Set 2 Question 59 figure

    Answer: 6

    Solution

    The decoder Q (inputs A,B) drives MUX data inputs , , , , with iff and iff . The select lines pick the data input: - only for → 1 combination. - → 0. - for all → 4 combinations. - only for → 1 combination. Total .
    Open GATE CS 2026 Set 2 Q59 · discuss this question →
  2. GATE CS 2024 Set 1 · Q28Digital Logicmsq1 mark
    Consider the circuit shown (an AND of and via an inverter). Gates may have propagation delays. Which statements about the circuit is/are CORRECT?
    GATE CS 2024 Set 1 Question 28 figure
    • A.
      With no propagation delays, output Y is always logic Zero
      ✓
    • B.
      With no propagation delays, output Y is always logic One
    • C.
      With propagation delays, Y can have a transient logic One after X goes 0->1
      ✓
    • D.
      With propagation delays, Y can have a transient logic Zero after X goes 1->0

    Answer: A, C

    Solution

    Answer: (A) and (C) Ideally always -> (A) true, (B) false. With a delay in the inverter, right after goes the direct input is already while is briefly still (the old value), so for the delay interval both AND inputs are and shows a transient (a static-0 glitch) -> (C) true. When goes , the direct input becomes immediately, forcing with no glitch -> (D) false.
    Open GATE CS 2024 Set 1 Q28 · discuss this question →
  3. GATE CS 2024 Set 1 · Q64Digital Logicnat2 marks
    Three 2-to-1 MUXes: M1 (inputs X1,X2; select A; output Q1), M2 (inputs X3,X4; select B; output Q2), M3 (inputs Q1,Q2; select C; output Y). For X1=1, X2=1, X3=0, X4=0, the number of (A,B,C) combinations giving Y=1 is _________
    GATE CS 2024 Set 1 Question 64 figure

    Answer: 4

    Solution

    Answer: 4 (since ), for any . (since ), for any . , so . With fixed and free (2 choices each): combinations.
    Open GATE CS 2024 Set 1 Q64 · discuss this question →
  4. GATE CS 2024 Set 2 · Q50Digital Logicmsq2 marks
    Given , , , feeding AND () and OR (), whose outputs feed an XOR to give . Which options are CORRECT?
    GATE CS 2024 Set 2 Question 50 figure
    • A.
    • B.
    • C.
      ✓
    • D.
      ✓

    Answer: C, D

    Solution

    Answer: (C) and (D) Let (common minterms) and (union). Then minterms in exactly one of them. Computing the symmetric difference gives — option (C). Equivalently (the complementary maxterms) — option (D). (A) and (B) are different minterm sets.
    Open GATE CS 2024 Set 2 Q50 · discuss this question →
  5. GATE CS 2023 · Q44Digital Logicmcq2 marks
    Two 4-input MUXes (M1, M2) and one 2-input MUX (M3), with select lines A, B, C as shown, realize a function. Which set of inputs realises ?
    GATE CS 2023 Question 44 figure
    • A.
      (1, 1, 0, 0, 1, 1, 1, 0)
    • B.
      (1, 1, 0, 0, 1, 1, 0, 1)
    • C.
      (1, 1, 0, 1, 1, 1, 0, 0)
      ✓
    • D.
      (0, 0, 1, 1, 0, 1, 1, 1)

    Answer: C

    Solution

    Answer: (C) (1, 1, 0, 1, 1, 1, 0, 0) Simplify the target: . Building the truth table of over and mapping each minterm to the corresponding multiplexer data input (M3 selects between M1 and M2 via A, each selecting via B,C) assigns the input values , matching option (C).
    Open GATE CS 2023 Q44 · discuss this question →
  6. GATE CS 2022 · Q40Digital Logicmcq2 marks
    In the digital display system shown, a 16-bit code word loads register X from S (a 1024-word memory) or R (a 32-word register file); mode bit M selects via T, and P, Q choose the addressed word. Which represents the functionality of P, Q, and T?
    GATE CS 2022 Question 40 figure
    • A.
      P is 10:1 multiplexer; Q is 5:1 multiplexer; T is 2:1 multiplexer
    • B.
      P is 10:2^10 decoder; Q is 5:2^5 decoder; T is 2:1 encoder
    • C.
      P is 10:2^10 decoder; Q is 5:2^5 decoder; T is 2:1 multiplexer
      ✓
    • D.
      P is 1:10 de-multiplexer; Q is 1:5 de-multiplexer; T is 2:1 multiplexer

    Answer: C

    Solution

    Answer: (C) P is 10:2^10 decoder; Q is 5:2^5 decoder; T is 2:1 multiplexer Addressing one of 1024 () words in S needs a 10-to- decoder (P); addressing one of 32 () words in R needs a 5-to- decoder (Q). The mode bit M selects between the two sources to load X, which is a 2-to-1 multiplexer (T).
    Open GATE CS 2022 Q40 · discuss this question →
  7. GATE CS 2021 Set 2 · Q15Digital Logicmcq1 mark
    Which one of the following circuits implements the Boolean function given below, where is the minterm?
    (See the figure for the 4x1 MUX options (A)–(D); the select lines are , .)
    GATE CS 2021 Set 2 Question 15 figure
    • A.
      (A)
      ✓
    • B.
      (B)
    • C.
      (C)
    • D.
      (D)

    Answer: A

    Solution

    With on the select lines, the four data inputs (for ) must each be the residue of in terms of : . Only option (A) wires the inputs as .
    Open GATE CS 2021 Set 2 Q15 · discuss this question →

Digital Logic: Logic Gate — GATE CS PYQ (6)

  1. GATE CS 2026 Set 1 · Q21Digital Logicmsq1 mark
    Consider the following Boolean expression of a function F :
    Which of the following expressions is/are equivalent to F ?
    • A.
      ✓
    • B.
    • C.
      ✓
    • D.

    Answer: A, C

    Solution

    Answer: (A) and (C) Boolean-algebra (theorem) method Let and . The product term is contained in , so and therefore .
    by De Morgan . Expanding:
    So is XNOR → option (A). For (C): (complementing one input of an XOR complements its output, so ). Hence (C) is also equivalent. (B) — wrong. (D) — wrong. Truth-table verification (here means ):
    P  Q  | P'+Q | P'Q | F
    ------+------+-----+---
    0  0  |   1  |  0  | 1
    0  1  |   1  |  1  | 0
    1  0  |   0  |  0  | 0
    1  1  |   1  |  0  | 1
    exactly when , i.e. the XNOR of and — confirming (A) and (C).
    Open GATE CS 2026 Set 1 Q21 · discuss this question →
  2. GATE CS 2026 Set 2 · Q16Digital Logicmcq1 mark
    Which one of the following options is not a property of Boolean Algebra? Note: is OR operation, is AND operation, and is NOT operation.
    • A.
    • B.
      ✓
    • C.
    • D.

    Answer: B

    Solution

    Answer: (B) The complement law states (not ) and . So is false; the others (commutativity and ) are valid.
    Open GATE CS 2026 Set 2 Q16 · discuss this question →
  3. GATE CS 2025 Set 1 · Q24Digital Logicmsq1 mark
    Let be a 3-variable Boolean function that produces output '1' when at least two of the input variables are '1' (the majority function). Which of the following statement(s) is/are CORRECT, where are Boolean variables?
    • A.
    • B.
      ✓
    • C.
    • D.
      ✓

    Answer: B, D

    Solution

    Answer: (B) and (D) is the majority function . - (B) Let . If then and . If then and . In all cases . True. - (D) , so RHS with . If it equals ; if then . So RHS LHS. True. - (A) Majority is not associative in this nested sense; a counterexample (e.g. ) makes the two sides differ. False. - (C) and , so RHS , which does not equal the LHS in general. False.
    Open GATE CS 2025 Set 1 Q24 · discuss this question →
  4. GATE CS 2025 Set 2 · Q31Digital Logicmsq1 mark
    Consider the shown logic circuit diagram with inputs and . Which is/are the CORRECT option(s) for the output function ?
    GATE CS 2025 Set 2 Question 31 figure
    • A.
      ✓
    • B.
      ✓
    • C.
      ✓
    • D.

    Answer: A, B, C

    Solution

    Answer: (A), (B) and (C) Trace the gates into the final OR: - Top NAND of gives . - Middle inverter on gives . - Bottom AND of (from the inverter on ) and gives . So the raw output is — which is exactly option (C). Simplify: , and , so
    Thus also equals option (A) and option (B) . Option (D) is different.
    Open GATE CS 2025 Set 2 Q31 · discuss this question →
  5. GATE CS 2025 Set 2 · Q50Digital Logicmsq2 marks
    Which of the following Boolean algebraic equation(s) is/are CORRECT?
    • A.
    • B.
      ✓
    • C.
      ✓
    • D.
      ✓

    Answer: B, C, D

    Solution

    Answer: (B), (C) and (D) - (B) Consensus theorem: (the term is redundant). TRUE. - (C) Expand: (consensus). TRUE. - (D) Applying De Morgan to the complemented product-of-sums and simplifying yields . TRUE. - (A) The left side has minterm set while the right side gives (it contains but not ). The sets differ, so (A) is FALSE.
    Open GATE CS 2025 Set 2 Q50 · discuss this question →
  6. GATE CS 2024 Set 2 · Q30Digital Logicmsq1 mark
    For a Boolean variable , which statements is/are FALSE?
    • A.
    • B.
      ✓
    • C.
      ✓
    • D.

    Answer: B, C

    Solution

    Answer: (B) and (C) - (B) FALSE: (not ). - (C) FALSE: (idempotent), not . - (A) TRUE (); (D) TRUE (complement law).
    Open GATE CS 2024 Set 2 Q30 · discuss this question →

Digital Logic: Minimization — GATE CS PYQ (6)

  1. GATE CS 2026 Set 1 · Q48Digital Logicmsq2 marks
    Consider a Boolean function F with the following minterm expression:
    Which of the following options is/are the minimal sum-of-products expression(s) of F ?
    • A.
    • B.
      ✓
    • C.
    • D.
      ✓

    Answer: B, D

    Solution

    Answer: B, D Essential prime implicants: (covers 1, 3, 5, 7) and (covers 4, 5, 12, 13). That leaves 2, 10, 14 to cover. The prime implicants for the remaining cells are (2, 3), (2, 10), (10, 14) and (12, 14). Two of them must cover 2, 10 and 14: • (A) : 14 is not covered. ✗ • (B) : covers 2, 10, 14. ✓ • (C) : 2 is not covered. ✗ • (D) : covers 2, 10, 14. ✓
    GATE CS 2026 Set 1 Question 48 solution figure
    Open GATE CS 2026 Set 1 Q48 · discuss this question →
  2. GATE CS 2026 Set 2 · Q40Digital Logicmcq2 marks
    Consider the following 4-variable Boolean function
    Consider as MSB, as LSB. Which one of the following options represents the minimal sum of products form for the above function? Note: is OR, is AND, is NOT.
    • A.
    • B.
      ✓
    • C.
    • D.

    Answer: B

    Solution

    Answer: (B) The listed minterms are exactly those with : for , (), and for , (). All eight cells with are set and no others, so the function minimizes to .
    Open GATE CS 2026 Set 2 Q40 · discuss this question →
  3. GATE CS 2025 Set 1 · Q42Digital Logicmcq2 marks
    Consider the four-variable Boolean function in sum-of-products form
    where is read as a 4-bit binary number ( MSB). There are no don't-care terms. Which ONE of the following is the CORRECT minimized Boolean expression for ?
    • A.
      ✓
    • B.
    • C.
    • D.

    Answer: A

    Solution

    Answer: (A) Plot minterms on a K-map: - share → group . - share → group . - Minterm is covered only together with : they share → group . Covering all seven minterms minimally gives
    which is option (A). The other options miss minterm or include extra minterms.
    Open GATE CS 2025 Set 1 Q42 · discuss this question →
  4. GATE CS 2025 Set 2 · Q43Digital Logicmsq2 marks
    Given the following Karnaugh Map for a Boolean function (rows , columns ):
     wx \ yz | 00 | 01 | 11 | 10
    ---------+----+----+----+---
       00    | 1  | 0  | 0  | 1
       01    | 0  | 1  | 1  | 0
       11    | 0  | 1  | 1  | 0
       10    | 1  | 0  | 0  | 1
    Which one or more of the following Boolean expression(s) represent(s) ?
    • A.
      ✓
    • B.
    • C.
    • D.
      ✓

    Answer: A, D

    Solution

    Answer: (A) and (D) Read the map: the 1's occur exactly where and agree. The four corner cells ( with ) are ; the four centre cells ( with ) are . So
    which is exactly option (D). Option (A) expands the block over all (the four minterms sum to ) and adds , so (A) as well. Options (B) and (C) miss some of the minterms, so they are not equal to .
    Open GATE CS 2025 Set 2 Q43 · discuss this question →
  5. GATE CS 2021 Set 1 · Q52Digital Logicmsq2 marks
    Consider the following Boolean expression.
    Which of the following Boolean expressions is/are equivalent to (complement of )?
    • A.
    • B.
      ✓
    • C.
      ✓
    • D.
      ✓

    Answer: B, C, D

    Solution

    Simplifying, ; its complement reduces to . Options (B), (C) and (D) are all algebraically equal to this, while (A) is not.
    Open GATE CS 2021 Set 1 Q52 · discuss this question →
  6. GATE CS 2021 Set 2 · Q62Digital Logicnat2 marks
    Consider a Boolean function such that
    The number of literals in the minimal sum-of-products expression of is ______.

    Answer: 6

    Solution

    Filling the K-map from the three partial specifications and minimizing gives a sum-of-products expression whose total literal count is 6.
    Open GATE CS 2021 Set 2 Q62 · discuss this question →

Take a Digital Logic chapter-wise test

Pick any chapters and attempt their PYQs with a timer in the GATE interface, with instant analysis — free.

Create free account →

More GATE CS PYQ subject-wise