GATE DA 2025 · Adversarial Search (Minimax, Alpha-Beta Pruning)

MCQ · 2 marks · Problem AI-ASRC-0049

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.
Diagram
For what ranges of \(x\) and \(y\), the right child of node B and the right child of node E will be pruned by alpha-beta pruning algorithm?
  1. A
    \(x \in [1, \infty)\) and \(y \in (-\infty, 2]\)
  2. B
    \(x \in (-\infty, 2]\) and \(y \in (-\infty, 5]\)
  3. C
    \(x \in (-\infty, 2]\) and \(y \in [2, \infty)\)
  4. D
    \(x \in [1, \infty)\) and \(y \in (-\infty, 5]\)

Solve it on GATE DA practice →More Search Strategies problems

Show the worked solutionTree-1: MAX root \(A\) has children: leaf \(2\), and MIN node \(B\) (children: leaf \(x\), leaf \(1\)). Evaluating left to right: \(A\)'s alpha becomes \(2\) after seeing the leaf \(2\). Entering \(B\) (inheriting alpha \(=2\)), its first child \(x\) sets \(B\)'s beta \(=x\). The second child (leaf \(1\)) gets pruned exactly when \(B\)'s current beta already can't beat the inherited alpha, i.e. \(x\le2\) — giving \(x\in(-\infty,2]\).Tree-2: MAX root \(C\) has children: MIN node \(D\) (children \(5,y\)), and MIN node \(E\) (children leaf \(2\), then a pruned subtree). Evaluating \(D\) first gives \(D\)'s value \(=\min(5,y)\), updating \(C\)'s alpha to this value. Entering \(E\) (inheriting this alpha), its first child (leaf \(2\)) sets \(E\)'s beta \(=2\). The remaining subtree gets pruned exactly when \(2\le\min(5,y)\), i.e. \(y\ge2\) (this covers both \(2\le y\le5\) and \(y>5\), since \(\min(5,y)\ge2\) in both cases) — giving \(y\in[2,\infty)\).Answer: \(x \in (-\infty, 2]\) and \(y \in [2, \infty)\)Click Here for Detail SolutionGateOverflow discussion: https://gateoverflow.in/460989/gate-da-2025-question-33

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com