Consider a Boolean function f(w, x, y, z) such that f(w, 0, 0, z) = 1 f(1, x, 1, z) = x + z f(w, 1, y, z) = wz + y The number of literals in the minimal sum-of-products expression of f is …
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2021 Set 2 · Q52
Time
Your answerNumerical answer
Solution
Official answer: 6
Boolean Algebra and MinimizationLet us analyze the given conditions to determine the minimal sum-of-products (SOP) expression for :
From $f(w, 0, 0, z) = 1$:When and , the function is identically , giving the product term .
From $f(w, 1, y, z) = wz + y$:When , the function outputs . Multiplying by gives the terms .
From $f(1, x, 1, z) = x + z$:When and , the function outputs . This gives terms .
Combining these conditions into a single Boolean expression:
Let us verify all three conditions with :
All conditions are satisfied.
In the minimal SOP expression:
contains 2 literals ()
contains 2 literals ()
contains 2 literals ()
Try the question first, then check your work.
Examiner trap
Express as a sum of products satisfying all three given sub-functions and count the total number of literals in the simplified SOP expression.
This Boolean Algebra and Minimization previous year question is Q52 of the GATE CSE 2021 Set 2 paper. Find more GATE CSE PYQs on Boolean Algebra and Minimization in Digital Logic, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Boolean Algebra and Minimization PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
Boolean Algebra and Minimization has 36 GATE CSE PYQs across 23 papers from 2011 to 2026. 2 of them are 2-mark NAT questions like this one, and it is the only one in GATE CSE 2021 Set 2.
How GATE tests Boolean Algebra and MinimizationIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.