chapter
    Logic and Proof Techniques PYQs for GATE CS

    Solve 7+ Logic and Proof Techniques 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
    For two different persons and , the predicate denotes that x knows y. Consider the following statement.

    There is a person who does not know anyone else, but that person is known by everyone else.

    Which one of the following expressions represents the above statement?
    Question 2
    2025 Slot Set2 PYQ
    Level 3: Exam Standard
    Let be an arbitrary predicate over the domain of natural numbers.

    Which ONE of the following statements is TRUE?
    Question 3
    2025 Slot Set1 PYQ
    Level 4: Challenger
    Which of the following predicate logic formulae/formula is/are CORRECT representation(s) of the statement: “Everyone has exactly one mother”?

    The meanings of the predicates used are:

    • : is the mother of
    • : and are not equal
    Question 4
    2024 Slot Set2 PYQ
    Level 3: Exam Standard
    Let and be the following propositions:

    : Fail grade can be given.
    : Student scores more than 50% marks.

    Consider the statement: “Fail grade cannot be given when student scores more than 50% marks.”

    Which one of the following is the CORRECT representation of the above statement in propositional logic?
    Question 5
    2023 PYQ
    Level 3: Exam Standard
    Geetha has a conjecture about integers, which is of the form


    where is a statement about integers, and is a statement about pairs of integers.
    Which of the following (one or more) option(s) would imply Geetha’s conjecture?
    Question 6
    2021 Slot Set2 PYQ
    Level 3: Exam Standard
    Choose the correct choice(s) regarding the following propositional logic assertion :

    Question 7
    2021 Slot Set1 PYQ
    Level 3: Exam Standard
    Let and be two propositions. Consider the following two formulae in propositional logic.


    Which one of the following choices is correct?
    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.

    Logic and Proof Techniques PYQs for GATE CS

    Solve 7+ Logic and Proof Techniques previous year questions for GATE CS with answers and detailed solutions. Free sample questions below.

    Chapter Roadmap: Logic and Proof Techniques

    Chapter Roadmap

    Logic and Proof Techniques

    1. Propositional Translation and Implication

    Translating English to logic. Mastering the implication operator. Foundational.

    2. Tautologies and Logical Equivalence

    Proving statements are always true/false. Simplifying logic using algebraic laws. High weightage.

    3. Predicate Logic and Quantifier Translation

    Moving to variables. Universal and existential quantifiers. Very high weightage.

    4. Quantified Reasoning and Induction

    Nested quantifiers. Proving infinite sequences using induction. Crucial for proofs.

    Goal: Read any complex mathematical statement, translate it into perfect logic, and prove its validity.

    The Art of Propositional Translation

    What is a Proposition?

    A proposition is a declarative sentence that has a definitive truth value: it must be either True or False, but never both, and never neither.

    Propositions

    "The sky is blue."
    "Seven is a prime number."

    Not Propositions

    "Close the door." (Command)
    "What is the time?" (Question)

    The Translation Process

    1. Identify the atomic (simple) declarative sentences.
    2. Assign a lowercase letter (e.g., ) to each.
    3. Identify the connecting words (and, or, if, then).
    4. Map the connecting words to logical operators ().

    Logic and Proof Techniques: Solved Questions with Step-by-Step Explanations (7 Problems)

    Question 1 · Engineering Mathematics · 2026_Set2 MCQ
    For two different persons and , the predicate denotes that x knows y. Consider the following statement.

    There is a person who does not know anyone else, but that person is known by everyone else.

    Which one of the following expressions represents the above statement?
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: This is a nested quantifier translation question, recognizable because it describes a specific relational property ("knows") among a domain of people using phrases like "There is a person" and "everyone else".

    Step 1: Identify the core components.

    "There is a person" . Let this person be .

    "who does not know anyone else" For all , does not know . This is .

    "but that person is known by everyone else" For all , knows . This is .

    Step 2: Combine the conditions for "everyone else".

    For any , if , then both conditions must hold: .

    This translates to: .

    Step 3: Attach the outer quantifier.

    "There is a person " wraps around the above:

    .

    Step 4: Match with options.

    Option A matches this exactly.

    Answer: A

    Question 2 · Engineering Mathematics · 2025_Set2 MCQ
    Let be an arbitrary predicate over the domain of natural numbers.

    Which ONE of the following statements is TRUE?
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: This is a mathematical induction question, recognizable because it asks to identify the correct logical formulation of the induction principle over the natural numbers.

    Step 1: Recall the Principle of Mathematical Induction.

    To prove that a predicate is true for all natural numbers , we need two steps:

    1. Base Case: Prove is true.
    2. Inductive Step: Prove that for any arbitrary natural number , if is true, then is true. This is written as .

    Step 2: Combine into a single logical implication.

    If (Base Case AND Inductive Step) are true, then is true for all .

    .

    Step 3: Evaluate the options.

    Option A matches this standard formulation perfectly.

    Options B and C use , which would prove the property downwards (for or ), not for all natural numbers.

    Option D uses as the base case and goes upwards, which only proves for , missing through .

    Answer: A

    Question 3 · Engineering Mathematics · 2025_Set1 MSQ
    Which of the following predicate logic formulae/formula is/are CORRECT representation(s) of the statement: “Everyone has exactly one mother”?

    The meanings of the predicates used are:

    • : is the mother of
    • : and are not equal
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    ["B","D"]

    Step-by-Step Solution

    Key idea: This is a multiple-select question on translating "exactly one" into predicate logic. The phrase "exactly one" requires two parts: existence (at least one) and uniqueness (at most one).

    Step 1: Break down "Everyone has exactly one mother".

    Part 1 (Existence): For every person , there exists at least one mother .

    Part 2 (Uniqueness): For every person , if is a mother and is also a mother, then and must be the same person ().

    Alternatively, "there does not exist another person who is a mother".

    Step 2: Evaluate Option B.

    This says: For every , there is a who is the mother, AND for all , if is not , then is NOT the mother.

    This perfectly captures existence and uniqueness. (Option B is Correct).

    Step 3: Evaluate Option D.

    This says: For every , there is a who is the mother, AND there does NOT exist a such that AND is the mother.

    The condition is logically equivalent to .

    So is equivalent to , which by De Morgan's is .

    This is exactly Option B. (Option D is Correct).

    Step 4: Evaluate Options A and C.

    Option A just says there is a mother and a non-mother. It doesn't enforce uniqueness.

    Option C says "if y is a mother, then there is a mother z who is equal to y". This is a tautology and doesn't guarantee existence or uniqueness.

    Answer: B, D

    Question 4 · Engineering Mathematics · 2024_Set2 MCQ
    Let and be the following propositions:

    : Fail grade can be given.
    : Student scores more than 50% marks.

    Consider the statement: “Fail grade cannot be given when student scores more than 50% marks.”

    Which one of the following is the CORRECT representation of the above statement in propositional logic?
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: This is a propositional translation question, recognizable because it asks to convert an English sentence with conditional keywords into a logical formula.

    Step 1: Identify the atomic propositions.

    : Fail grade can be given.

    : Student scores more than 50% marks.

    Step 2: Translate the conditional statement.

    The statement is: "Fail grade cannot be given when student scores more than 50% marks."

    The word "when" acts as "if". So, "If student scores more than 50% marks, then fail grade cannot be given."

    This translates to: If , then .

    In propositional logic, this is written as .

    Step 3: Match with the options.

    Option A matches .

    Answer: A

    Question 5 · Engineering Mathematics · 2023 MSQ
    Geetha has a conjecture about integers, which is of the form


    where is a statement about integers, and is a statement about pairs of integers.
    Which of the following (one or more) option(s) would imply Geetha’s conjecture?
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    ["B","C"]

    Step-by-Step Solution

    Key idea: This is a quantified reasoning question about nested quantifiers and implications. The conjecture requires that for every , if holds, then some exists making true. We must test which options logically force this to be true for all .

    Step 1: Analyze the conjecture structure.

    The conjecture is a universal statement: for ALL , the implication must hold. To imply this, an option must guarantee the condition for every possible .

    Step 2: Evaluate Option A: .

    This asserts there is at least one specific where is true and is true for all . However, this gives no information about any other . If there exists another where is true but no satisfies , the conjecture fails. Thus, A does not imply the conjecture.

    Step 3: Evaluate Option B: .

    This asserts is true for every pair . Now take any arbitrary . If is true, we can pick any (the domain is non-empty) and will be true. Thus is guaranteed. This implies the conjecture.

    Step 4: Evaluate Option C: .

    This asserts there is a single, fixed such that for all , . Now take any arbitrary . If is true, then by the given condition, must be true. Since exists, we have found a (namely ) such that is true. Thus holds for all . This implies the conjecture.

    Step 5: Evaluate Option D: .

    Similar to Option A, this only guarantees the condition for one specific . It does not cover all , so it cannot imply the universal conjecture.

    Answer: B, C

    Question 6 · Engineering Mathematics · 2021_Set2 MSQ
    Choose the correct choice(s) regarding the following propositional logic assertion :

    1. A.

      is neither a tautology nor a contradiction.

    2. B.

      is a tautology.

    3. C.

      is a contradiction.

    4. D.

      The antecedent of is logically equivalent to the consequent of .

    Correct Answer:

    ["B","D"]

    Step-by-Step Solution

    Key idea: This is a logical equivalence and tautology verification question, recognizable because it asks you to classify a complex implication and compare its antecedent to its consequent. The key method is to simplify both sides algebraically using the definition of implication and De Morgan's laws.

    Step 1: Identify the antecedent and consequent of .

    Let (the antecedent).

    Let (the consequent).

    Step 2: Simplify the antecedent .

    Using the definition :

    Applying De Morgan's law :

    Step 3: Simplify the consequent .

    First, simplify the inner implication :

    Now substitute back into :

    Apply the definition of implication:

    Apply De Morgan's law:

    By associativity and idempotence ():

    Step 4: Compare and .

    Both simplify to , so .

    Therefore, is of the form , which is always true.

    This means is a tautology, and the antecedent is logically equivalent to the consequent.

    Answer: B, D

    Question 7 · Engineering Mathematics · 2021_Set1 MCQ
    Let and be two propositions. Consider the following two formulae in propositional logic.


    Which one of the following choices is correct?
    1. A.

      Both and are tautologies.

    2. B.

      is a tautology but is not a tautology.

    3. C.

      is not a tautology but is a tautology.

    4. D.

      Neither nor is a tautology.

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: This is a tautology checking question, recognizable because it asks to classify propositional formulae as tautologies. We can simplify the expressions algebraically using logical equivalences.

    Step 1: Simplify the common subexpression.

    Both and contain the term .

    Using the Distributive Law:

    Since is a contradiction (False):

    .

    Step 2: Analyze .

    Using the Implication Law ():

    Using De Morgan's Law:

    Using Associative Law:

    Since is a tautology (True):

    .

    Since simplifies to True for all values of and , is a tautology.

    Step 3: Analyze .

    Using the Implication Law:

    Using the Distributive Law in reverse:

    .

    This expression is not always true (e.g., if and , it evaluates to ).

    Therefore, is not a tautology (it is a contingency).

    Step 4: Conclusion.

    is a tautology, but is not.

    Answer: B

    More previous year questions (pyqs) in this unit