chapter

    Logic, First-order Representation and Entailment Pyqs for Gate Da

    Solve 4+ Logic, First-order Representation and Entailment previous year questions for GATE DA 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 PYQ
    Level 3: Exam Standard
    Let be a predicate.

    Which of the following statements is/are NOT valid in first-order logic?
    Question 2
    2026 PYQ
    Level 3: Exam Standard
    Sentence is said to entail Sentence if whenever is , also must hold .
    Which of the following statements is/are correct if entails ?
    Question 3
    2026 PYQ
    Level 3: Exam Standard
    Which of the following statements is NOT true?
    (The names of the predicates are intuitive.)
    Question 4
    2024 PYQ
    Level 3: Exam Standard
    Let game(ball, rugby) be true if the ball is used in rugby and false otherwise.
    Let shape(ball, round) be true if the ball is round and false otherwise.
    Consider the following logical sentences:
    s1: ball game(ball, rugby) shape(ball, round)
    s2: ball shape(ball, round) game(ball, rugby)
    s3: ball game(ball, rugby) shape(ball, round)
    s4: ball shape(ball, round) game(ball, rugby)
    Which of the following choices is/are logical representations of the assertion,
    “All balls are round except balls used in rugby”?
    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.

    Explore complete test series, official past papers, and chapter-wise study tools.

    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, First-order Representation and Entailment PYQs for GATE DA

    Solve 4+ Logic, First-order Representation and Entailment previous year questions for GATE DA with answers and detailed solutions. Free sample questions below.

    Chapter Roadmap: Logic, First-Order Representation and Entailment

    Chapter Roadmap

    Knowledge Representation and Reasoning

    1

    First-Order Logic Translation & Quantifier Validity

    Translating English to FOL, scope of quantifiers, and validity checks.

    2

    Logical Entailment, Implication & Predicate Reasoning

    When does X imply Y? Inference rules and proof strategies.

    Why this matters: Exam questions often test your ability to spot invalid translations or correct entailments. Mastery here prevents errors in later reasoning topics.

    Topic Hero: From English to First-Order Logic

    The Core Translation Pattern

    First-Order Logic extends propositional logic by introducing objects, predicates, and quantifiers.

    1. The Universal Quantifier ()

    Used for "All", "Every", "Each".

    Standard Form:

    Example: "All dogs are mammals."


    Note: Using here is a common trap. means "Everything in the universe is a dog and a mammal," which is false.

    2. The Existential Quantifier ()

    Used for "Some", "There exists", "At least one".

    Standard Form:

    Example: "Some dogs are brown."


    Note: Using here is a trap. is true if there is even one non-dog in the universe (because False Anything is True).
    Quantifier Connective Why?
    We restrict the property to a subset.
    We assert the existence of an object with both properties.

    Logic, First-order Representation and Entailment: Solved Questions with Step-by-Step Explanations (4 Problems)

    Question 1 · Artificial Intelligence · 2026 MSQ
    Let be a predicate.

    Which of the following statements is/are NOT valid in first-order logic?
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    ["B","C","D"]

    Step-by-Step Solution

    Insight: Validity requires a statement to be true in all non-empty domains. Existential does not imply universal, and universal contradicts existential negation.

    Exam route: A is valid (non-empty domain assumption). B is invalid (counterexample: some but not all). C is invalid (same reason). D is invalid (contradiction if all are P).

    Learning route:

    Step 1: Recall that standard First-Order Logic assumes domains are non-empty.

    Step 2: Evaluate Option A: . If everything in the domain has property , and the domain has at least one element, then there exists something with property . This is valid.

    Step 3: Evaluate Option B: . Construct a counterexample. Let the domain be , with and . The antecedent is True, but the consequent is False. True False is False. Thus, not valid.

    Step 4: Evaluate Option C: . Using the same counterexample, True False is False. Thus, not valid.

    Step 5: Evaluate Option D: . If is True, then every element has property . This means must be False. True False is False. Thus, not valid.

    Question 2 · Artificial Intelligence · 2026 MSQ
    Sentence is said to entail Sentence if whenever is , also must hold .
    Which of the following statements is/are correct if entails ?
    1. A.

    2. B.

      is

    3. C.

      if then

    4. D.

      if then

    Correct Answer:

    ["A","B","C"]

    Step-by-Step Solution

    Insight: Entailment means the material implication is valid, which is logically equivalent to being unsatisfiable.

    Exam route: If , then is a tautology (Option A). This means its negation, , is always false (Option B). "If X then Y" is the natural language equivalent (Option C). The converse "if Y then X" (Option D) is not guaranteed.

    Learning route:

    Step 1: Recall the definition of semantic entailment: means that in every possible model where is true, is also true.

    Step 2: Evaluate Option A. This condition is exactly the definition of the material implication being valid (true in all models). Thus, A is correct.

    Step 3: Evaluate Option B. By propositional equivalence, . If the implication is valid (always true), its negation must be false in all models (unsatisfiable). Thus, B is correct.

    Step 4: Evaluate Option C. "If X then Y" is the standard English reading of the valid implication . Thus, C is correct.

    Step 5: Evaluate Option D. The converse (or ) is not logically implied by . A true premise guaranteeing a true conclusion does not mean the conclusion guarantees the premise. Thus, D is incorrect.

    Question 3 · Artificial Intelligence · 2026 MCQ
    Which of the following statements is NOT true?
    (The names of the predicates are intuitive.)
    1. A.

    2. B.

    3. C.

      “Each king is a person” is equivalent to

    4. D.

      “All humans are mortal” is equivalent to

    Correct Answer:

    C

    Step-by-Step Solution

    Insight: "Each king is a person" requires a universal quantifier paired with implication, not conjunction.

    Exam route: Check each option for logical validity. Option C uses , which falsely claims everything in the universe is a king and a person. This is the only invalid statement.

    Learning route:

    Step 1: Analyze Option A. The symmetry of the classmate relation is correctly formalized as . This is a valid representation.

    Step 2: Analyze Option B. is logically equivalent to . Thus, the statement is , which is a tautology and always true.

    Step 3: Analyze Option C. "Each king is a person" restricts the property of being a person to the subset of kings. The correct translation is . The given form means "Everything in the universe is a king and a person", which is factually and logically incorrect for this translation.

    Step 4: Analyze Option D. "All humans are mortal" is the classic example correctly translated as .

    Question 4 · Artificial Intelligence · 2024 MSQ
    Let game(ball, rugby) be true if the ball is used in rugby and false otherwise.
    Let shape(ball, round) be true if the ball is round and false otherwise.
    Consider the following logical sentences:
    s1: ball game(ball, rugby) shape(ball, round)
    s2: ball shape(ball, round) game(ball, rugby)
    s3: ball game(ball, rugby) shape(ball, round)
    s4: ball shape(ball, round) game(ball, rugby)
    Which of the following choices is/are logical representations of the assertion,
    “All balls are round except balls used in rugby”?
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    ["A","C"]

    Step-by-Step Solution

    Insight: "All A except B" is a biconditional-like statement meaning "If not B, then A" AND "If B, then not A".

    Exam route: s1 is rugby round. s3 is rugby round. Together, s1 s3 captures the full meaning. Since s2 is the contrapositive of s1, s2 s3 is logically equivalent to s1 s3.

    Learning route:

    Step 1: Parse the assertion "All balls are round except balls used in rugby". This means two things must hold simultaneously:

    (1) If a ball is NOT used in rugby, it is round.

    (2) If a ball IS used in rugby, it is NOT round.

    Step 2: Translate (1) into FOL: . This matches sentence s1 exactly.

    Step 3: Translate (2) into FOL: . This matches sentence s3 exactly.

    Step 4: Check logical equivalences. Sentence s2 is . This is the contrapositive of s1 (), so s1 s2. Sentence s4 is the contrapositive of s3, so s3 s4.

    Step 5: Evaluate the options. Option A (s1 s3) directly combines the two required translations. Option C (s2 s3) is also correct because substituting the logically equivalent s2 for s1 yields the exact same logical meaning. Options B and D are redundant, each only capturing half of the required meaning.

    More previous year questions (pyqs) in this unit