chapter

    Adversarial Search, Minimax and Alpha-beta Pruning Pyqs for Gate Da

    Solve 3+ Adversarial Search, Minimax and Alpha-beta Pruning previous year questions for GATE DA with answers and detailed solutions. Free sample questions bel

    Try a question

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

    Question 1
    2026 PYQ
    Level 2: Moderate
    Consider the game tree for a two-player turn-taking minimax game as shown in the figure. The value of a terminal node represents the utility of the game state if the game ends there. The numbers written next to the edges denote the strategies.

    There are two players MAX and MIN. At any particular state of the game, MAX prefers to move to a state of maximum value. On the other hand, MIN prefers to move to a state of minimum value.

    Suppose MAX starts the game at the root and has three strategies: 1, 2 and 3. Next, MIN plays and also has three strategies: 1, 2 and 3. The game ends there. Both players always take optimal strategies throughout the game.

    At the root, the best strategy for MAX is ___________ . (Answer in integer)
    MAX MIN 1 2 3 1 2 3 8 6 −1 1 2 3 1 5 7 1 2 3 −4 −3 −12
    Question 2
    2025 PYQ
    Level 3: Exam Standard
    Consider game trees Tree-1 and Tree-2 as shown. The first level is a MAX agent and the second level is a MIN agent. The value in the square node is the output of the utility function.

    MAX MIN A 2 B x 1 Tree-1 C D E 5 y 2 Tree-2
    For what ranges of and , the right child of node and the right child of node will be pruned by alpha-beta pruning algorithm?
    Question 3
    2024 PYQ
    Level 2: Moderate
    Consider the following statement:
    In adversarial search, – pruning can be applied to game trees of any depth where
    is the (m) value choice we have formed so far at any choice point along the
    path for the MAX player and is the (n) value choice we have formed so far
    at any choice point along the path for the MIN player.
    Which ONE of the following choices of (m) and (n) makes the above statement
    valid?
    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.

    Adversarial Search, Minimax and Alpha-beta Pruning PYQs for GATE DA

    Solve 3+ Adversarial Search, Minimax and Alpha-beta Pruning previous year questions for GATE DA with answers and detailed solutions. Free sample questions below.

    Chapter Roadmap: Adversarial Search

    1
    Minimax Game Tree Evaluation and Strategy Selection
    Foundation of adversarial search. Learn how MAX and MIN agents propagate utility values from terminal states to the root to select optimal strategies in deterministic, perfect-information games.
    Importance: High | Core Dependency for all game-playing AI
    2
    Alpha-Beta Pruning Bounds and Interpretation
    Optimization of minimax. Learn to maintain alpha and beta bounds to identify and prune branches that cannot possibly influence the final decision, without changing the final result.
    Importance: Moderate to High | Frequent Exam Application

    Topic Hero: The Minimax Intuition

    The Adversarial Setting

    Minimax applies strictly to games with three properties:

    • Two-player: Exactly two agents taking turns.
    • Zero-sum: The utility of the game is strictly opposed. If MAX gains , MIN effectively gains .
    • Perfect information: No hidden states or chance elements (no dice, no hidden cards).

    The Core Assumption

    The algorithm is built on a single, critical premise: The opponent plays optimally. When MAX evaluates a move, it does not hope for MIN to make a mistake. It assumes MIN will always choose the branch that yields the lowest possible utility for MAX. Therefore, MAX's strategy is to maximize the minimum possible payoff (hence, "Minimax").

    Adversarial Search, Minimax and Alpha-beta Pruning: Solved Questions with Step-by-Step Explanations (3 Problems)

    Question 1 · Artificial Intelligence · 2026 NAT
    Consider the game tree for a two-player turn-taking minimax game as shown in the figure. The value of a terminal node represents the utility of the game state if the game ends there. The numbers written next to the edges denote the strategies.

    There are two players MAX and MIN. At any particular state of the game, MAX prefers to move to a state of maximum value. On the other hand, MIN prefers to move to a state of minimum value.

    Suppose MAX starts the game at the root and has three strategies: 1, 2 and 3. Next, MIN plays and also has three strategies: 1, 2 and 3. The game ends there. Both players always take optimal strategies throughout the game.

    At the root, the best strategy for MAX is ___________ . (Answer in integer)
    MAX MIN 1 2 3 1 2 3 8 6 −1 1 2 3 1 5 7 1 2 3 −4 −3 −12
    Correct Answer:

    2

    Step-by-Step Solution

    Insight: Evaluate the game tree strictly bottom-up. MIN minimizes at level 1, and MAX maximizes at the root.

    Exam route: Calculate the MIN values for each of the three branches: Branch 1 = . Branch 2 = . Branch 3 = . MAX at the root chooses . This value comes from Strategy 2.

    Learning route:

    Step 1: Identify the terminal nodes and their utility values.

    Step 2: Resolve the MIN nodes (level 1).

    • Left MIN node (Strategy 1): children are 8, 6, -1. MIN chooses .
    • Middle MIN node (Strategy 2): children are 1, 5, 7. MIN chooses .
    • Right MIN node (Strategy 3): children are -4, -3, -12. MIN chooses .

    Step 3: Resolve the MAX root (level 0). The root compares the values returned by its children: -1, 1, and -12. MAX chooses the maximum, which is 1.

    Step 4: Trace back to find the strategy. The value 1 was returned by the middle MIN node, which corresponds to Strategy 2.

    Question 2 · Artificial Intelligence · 2025 MCQ
    Consider game trees Tree-1 and Tree-2 as shown. The first level is a MAX agent and the second level is a MIN agent. The value in the square node is the output of the utility function.

    MAX MIN A 2 B x 1 Tree-1 C D E 5 y 2 Tree-2
    For what ranges of and , the right child of node and the right child of node will be pruned by alpha-beta pruning algorithm?
    1. A.

      and

    2. B.

      and

    3. C.

      and

    4. D.

      and

    Correct Answer:

    C

    Step-by-Step Solution

    Insight: Pruning occurs when . Track and carefully as they are passed down and updated at each node.

    Exam route:

    Tree 1: Root gets from the left child. At node B (MIN), the left child is , so becomes . The right child is pruned if .

    Tree 2: Node D (MIN) returns to the root. The root updates . At node E (MIN), the left child is 2, so becomes 2. The right child is pruned if .

    Learning route:

    Step 1: Analyze Tree 1. Root A (MAX) starts with . It evaluates the left child (value 2) and updates .

    Step 2: Move to right child B (MIN). B inherits . B evaluates its left child () and updates .

    Step 3: For B's right child to be pruned, the condition must hold immediately after evaluating . Thus, , meaning .

    Step 4: Analyze Tree 2. Root C (MAX) starts with . It evaluates left child D (MIN). D evaluates its left child (5), so . D evaluates its right child (), so . D returns to C.

    Step 5: Root C updates .

    Step 6: Move to right child E (MIN). E inherits and . E evaluates its left child (2) and updates .

    Step 7: For E's right child to be pruned, we need . Since is always true, this condition simplifies to , meaning .

    Question 3 · Artificial Intelligence · 2024 MCQ
    Consider the following statement:
    In adversarial search, – pruning can be applied to game trees of any depth where
    is the (m) value choice we have formed so far at any choice point along the
    path for the MAX player and is the (n) value choice we have formed so far
    at any choice point along the path for the MIN player.
    Which ONE of the following choices of (m) and (n) makes the above statement
    valid?
    1. A.

      (m) = highest, (n) = highest

    2. B.

      (m) = lowest, (n) = highest

    3. C.

      (m) = highest, (n) = lowest

    4. D.

      (m) = lowest, (n) = lowest

    Correct Answer:

    C

    Step-by-Step Solution

    Insight: Alpha represents the best (highest) guaranteed value for MAX, while Beta represents the best (lowest) guaranteed value for MIN.

    Exam route: Recall the standard definitions: is the maximum value MAX can guarantee so far, and is the minimum value MIN can guarantee so far. Match these directly to "highest" and "lowest".

    Learning route: In minimax search, the MAX player aims to maximize the score, so it continuously updates to the highest value found among its evaluated choices. Conversely, the MIN player aims to minimize the score, so it updates to the lowest value found. The pruning condition triggers precisely when MAX's guaranteed minimum is greater than or equal to MIN's guaranteed maximum, proving that MIN will never allow the game to reach this branch. Therefore, (m) must be "highest" and (n) must be "lowest".

    More previous year questions (pyqs) in this unit