chapter
    Boolean Algebra, Canonical Forms and Logic Minimization Practice Questions for GATE CS

    Solve 189+ Boolean Algebra, Canonical Forms and Logic Minimization practice questions for GATE CS with answers and detailed solutions. Free sample questions b

    Try a question

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

    Question 1
    Level 1: Warm-up

    Assertion (A): For a 3-variable function , if the sum-of-minterms is , then the product-of-maxterms is .

    Reason (R): The arithmetic sum of the minterm indices and the maxterm indices equals the total number of rows in the truth table, which is .

    Question 2
    Level 1: Warm-up

    According to the definition of an Essential Prime Implicant, what is the minimum number of minterms it must uniquely cover (i.e., not covered by any other Prime Implicant) to be considered mandatory in the minimal expression?

    Question 3
    Level 1: Warm-up

    For a Prime Implicant of a Boolean function, what is the maximum number of literals that can be removed from it such that the resulting term is still guaranteed to be an implicant of the function?

    Question 4
    Level 1: Warm-up

    If a minimal Sum-of-Products expression excludes a specific Prime Implicant that uniquely covers at least one minterm, what is the direct consequence for the function's truth table?

    Question 5
    Level 1: Warm-up

    For the Boolean function , how many Essential Prime Implicants does it have?

    Question 6
    Level 1: Warm-up

    A Boolean function has 3 Essential Prime Implicants. To cover the remaining minterms, exactly 2 additional Prime Implicants are needed. What is the total number of product terms in the minimal Sum-of-Products expression?

    Question 7
    Level 1: Warm-up

    For a Boolean variable , consider the four expressions

    As takes all values in , the maximum number of these expressions that can be equal to at the same time is

    Question 8
    Level 1: Warm-up

    When applying the adjacency theorem to combine the terms and in a Sum-of-Products expression, which variable is eliminated and what is the resulting minimal term?

    Question 9
    Level 1: Warm-up

    Consider the following three Boolean functions:

    Let be the number of Prime Implicants for respectively. Which of the following correctly ranks them?

    Question 10
    Level 1: Warm-up

    A minimal Sum-of-Products expression derived from a 4-variable Karnaugh map has exactly 3 product terms, containing 2, 3, and 4 literals respectively. Assuming no overlap between the groups and no redundant groups, what is the total number of cells (1s) covered by these groups in the K-map?

    Free preview ends here

    Login to view the complete practice 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.

    Boolean Algebra, Canonical Forms and Logic Minimization Practice Questions for GATE CS

    Solve 189+ Boolean Algebra, Canonical Forms and Logic Minimization practice questions for GATE CS with answers and detailed solutions. Free sample questions below.

    Chapter Journey: Boolean Algebra and Logic Minimization

    Chapter Journey

    Master the foundation of digital circuit design, from basic axioms to advanced minimization techniques.

    1
    Boolean Laws & Identities High Weightage
    The foundational axioms and theorems for manipulation.
    2
    Canonical Forms Moderate
    Standardizing functions into Minterm and Maxterm representations.
    3
    Algebraic Minimization High Weightage
    Reducing Sum-of-Products expressions using Boolean theorems.
    4
    Karnaugh Maps Moderate
    Visual minimization for up to 4-6 variables using prime implicants.
    5
    Composite Functions Moderate
    Analyzing Majority, XOR, and complex composite logic structures.

    Boolean Laws, Identities and Expression Equivalence

    Boolean Laws & Identities

    The grammar of digital logic. Master these rules to simplify circuits, reduce gate count, and verify complex expressions.

    • Core axioms: Commutative, Associative, Distributive, Identity, Complement
    • Advanced theorems: Absorption, Redundancy, and Consensus
    • Transformation tools: De Morgan's Laws and the Principle of Duality

    Boolean Algebra, Canonical Forms and Logic Minimization: Solved Questions with Step-by-Step Explanations (10 Problems)

    Question 1 · Digital Logic MCQ

    Assertion (A): For a 3-variable function , if the sum-of-minterms is , then the product-of-maxterms is .

    Reason (R): The arithmetic sum of the minterm indices and the maxterm indices equals the total number of rows in the truth table, which is .

    1. A.

      Both A and R are true and R is the correct explanation of A.

    2. B.

      A is true but R is false.

    3. C.

      Both A and R are true but R is not the correct explanation of A.

    4. D.

      A is false but R is true.

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: Verify the mathematical truth of the Assertion, then check the Reason for conceptual and arithmetic accuracy.

    Step 1: Evaluate Assertion (A). For a 3-variable function, there are total rows (0 to 7). The minterm indices are . The maxterm indices must be the complement set: . Assertion (A) is TRUE.

    Step 2: Evaluate Reason (R). The reason claims the "arithmetic sum" of the indices equals 8. Let's calculate the arithmetic sum: .

    Step 3: The arithmetic sum is 28, not 8. The correct concept is that the <i>union of the sets</i> of indices contains exactly 8 elements. Reason (R) is FALSE due to a unit mismatch (confusing set union size with arithmetic sum).

    Answer: B

    Question 2 · Digital Logic MCQ

    According to the definition of an Essential Prime Implicant, what is the minimum number of minterms it must uniquely cover (i.e., not covered by any other Prime Implicant) to be considered mandatory in the minimal expression?

    1. A.

      0

    2. B.

      1

    3. C.

      2

    4. D.

      All minterms

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: An Essential Prime Implicant is defined by its coverage of at least one unique minterm.

    Step 1: Recall the definition of an Essential Prime Implicant (EPI). It is a Prime Implicant that covers at least one minterm that is not covered by any other Prime Implicant.

    Step 2: Identify the threshold for "at least one". The minimum number of uniquely covered minterms required to make a PI essential is exactly 1.

    Step 3: Because this specific minterm must be 1, and the EPI is the only PI that can cover it, the EPI becomes mandatory.

    Answer: B

    Question 3 · Digital Logic MCQ

    For a Prime Implicant of a Boolean function, what is the maximum number of literals that can be removed from it such that the resulting term is still guaranteed to be an implicant of the function?

    1. A.

      0

    2. B.

      1

    3. C.

      2

    4. D.

      It depends on the total number of variables

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: This is a definition-boundary question, recognizable because it tests the strict limits of what makes an implicant "Prime".

    Step 1: Recall the definition of a Prime Implicant (PI). It is a maximal grouping of 1s. It cannot be expanded further without including a 0.

    Step 2: Understand what "removing a literal" means in Boolean algebra. Removing a literal from a product term expands the term to cover more minterms (e.g., covers fewer minterms than ).

    Step 3: If you remove even 1 literal from a PI, the resulting term will expand to cover at least one minterm where the function is 0.

    Step 4: Therefore, it will no longer be an implicant. The maximum number of literals you can remove while guaranteeing it remains an implicant is 0.

    Answer: A

    Question 4 · Digital Logic MCQ

    If a minimal Sum-of-Products expression excludes a specific Prime Implicant that uniquely covers at least one minterm, what is the direct consequence for the function's truth table?

    1. A.

      The function will evaluate to 0 for that specific minterm, making the expression incorrect.

    2. B.

      The function will evaluate to 1 for that minterm, but the expression will contain redundant terms.

    3. C.

      The function will remain logically equivalent but will require more OR gates.

    4. D.

      The function will automatically convert to a Product-of-Sums form.

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: This is a consequence-analysis question, recognizable because it tests the mandatory nature of Essential Prime Implicants.

    Step 1: Identify the definition of the excluded term. It is a Prime Implicant that "uniquely covers at least one minterm". This is the exact definition of an Essential Prime Implicant (EPI).

    Step 2: Understand the role of an EPI. Because it is the <i>only</i> Prime Implicant that covers that specific minterm, no other term in the expression can cover it.

    Step 3: If the EPI is excluded from the final Sum-of-Products expression, that unique minterm is left uncovered.

    Step 4: An uncovered minterm in an SOP expression means the function will evaluate to 0 for that input combination, which contradicts the original truth table (where it should be 1). The expression becomes incorrect.

    Answer: A

    Question 5 · Digital Logic MCQ

    For the Boolean function , how many Essential Prime Implicants does it have?

    1. A.

      2

    2. B.

      3

    3. C.

      4

    4. D.

      5

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: An Essential Prime Implicant (EPI) is a Prime Implicant (PI) that covers at least one minterm not covered by any other PI.

    Step 1: Identify the PIs by grouping the minterms. The minterms 0-11 form a large block, and 14,15 form another.

    Step 2: The PIs are (covers 0-7), (covers 0,1,4,5,8,9,10,11), (covers 0,1,2,3,8,9,10,11), and (covers 14,15).

    Step 3: Check for unique minterms. uniquely covers 2,3,6,7. uniquely covers 8,9,10,11. uniquely covers 14,15.

    Step 4: covers 4,5 (also in ) and 8,9,10,11 (also in ). It has no unique minterms, so it is NOT an EPI.

    Total EPIs = 3.

    Answer: B

    Question 6 · Digital Logic MCQ

    A Boolean function has 3 Essential Prime Implicants. To cover the remaining minterms, exactly 2 additional Prime Implicants are needed. What is the total number of product terms in the minimal Sum-of-Products expression?

    1. A.

      2

    2. B.

      3

    3. C.

      5

    4. D.

      6

    Correct Answer:

    C

    Step-by-Step Solution

    Key idea: The minimal SOP expression is the sum of ALL Essential Prime Implicants plus the MINIMUM number of additional Prime Implicants needed to cover the rest.

    Step 1: The problem states there are 3 EPIs. These are mandatory, so they contribute 3 product terms.

    Step 2: It states exactly 2 additional PIs are needed to cover the remaining minterms. These contribute 2 product terms.

    Step 3: Total product terms = (Number of EPIs) + (Number of additional PIs) = 3 + 2 = 5.

    Answer: C

    Question 7 · Digital Logic MCQ

    For a Boolean variable , consider the four expressions

    As takes all values in , the maximum number of these expressions that can be equal to at the same time is

    1. A.

      1

    2. B.

      2

    3. C.

      3

    4. D.

      4

    Correct Answer:

    B

    Step-by-Step Solution

    Insight: The four expressions test the standard XOR identities. is always 1, while and are complementary as changes.

    Exam route: Check the two possible values of . Whichever case gives more 1s gives the maximum.

    Learning route:

    Case 1: .

    .

    .

    .

    .

    Count of 1s is 2.

    Case 2: .

    .

    .

    .

    .

    Count of 1s is 2.

    Therefore the maximum count is 2.

    Answer: Option B.

    Wrong path: If one makes the sign error instead of , then for the count becomes , , , giving 3, which matches option C. The identity is the correct one.

    Generalization: , , , and .

    Verification: In both cases exactly one of is 1, is always 0, and is always 1, so the total is always 2.

    Question 8 · Digital Logic MCQ

    When applying the adjacency theorem to combine the terms and in a Sum-of-Products expression, which variable is eliminated and what is the resulting minimal term?

    1. A.

      Variable is eliminated, resulting in

    2. B.

      Variable is eliminated, resulting in

    3. C.

      Variable is eliminated, resulting in

    4. D.

      Variable is eliminated, resulting in

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: This is an adjacency theorem application, recognizable because two terms are identical except for one variable appearing in true and complemented forms.

    Step 1: Compare the two terms: and .

    Step 2: Identify the variable that differs. and are identical in both terms. The variable appears in true form in the first term and complemented form () in the second.

    Step 3: Apply the adjacency theorem (). The differing variable () is eliminated.

    Step 4: The resulting term is the common part: .

    Answer: A

    Question 9 · Digital Logic MCQ

    Consider the following three Boolean functions:

    Let be the number of Prime Implicants for respectively. Which of the following correctly ranks them?

    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: A Prime Implicant is a maximal group of minterms. We need to count the maximal groups for each function.

    Step 1: has minterms 0,1,2,3. This is a single block of 4, so it has 1 PI (). Thus, .

    Step 2: has minterms 0 through 7. This is a single block of 8, so it has 1 PI (). Thus, .

    Step 3: has minterms 0,1,2,4,5,6. We can group (0,1,4,5) as and (0,2,4,6) as . These are two maximal groups. Thus, .

    Step 4: Comparing the counts: , , . Therefore, .

    Answer: A

    Question 10 · Digital Logic MCQ

    A minimal Sum-of-Products expression derived from a 4-variable Karnaugh map has exactly 3 product terms, containing 2, 3, and 4 literals respectively. Assuming no overlap between the groups and no redundant groups, what is the total number of cells (1s) covered by these groups in the K-map?

    1. A.

      7

    2. B.

      9

    3. C.

      12

    4. D.

      16

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: This is a reverse-engineering question that links the algebraic property of a product term (number of literals) to its spatial representation in a K-map (number of cells covered).

    Step 1: Recall the relationship between literals and cells in an -variable K-map. A product term with literals covers cells.

    Step 2: For a 4-variable map (), calculate the cells covered by each term:

    • Term with 2 literals: cells.
    • Term with 3 literals: cells.
    • Term with 4 literals: cell.

    Step 3: Sum the cells covered by all three terms: cells.

    Answer: A

    More practice questions in this unit