All mock tests are FREE till 31 December — register to save your progress
Unit 10 · Artificial Intelligence (AI) Paper 2 CS · November 2021

Consider the game tree shown (root A is MAX; B and C are MIN; D, E, F, G are MAX with leaves D: 3, 5; E: 6, 9; F: 1, 2; G: 0, −1). Calculate the value at the root using alpha-beta pruning.

Figure

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: B. 5

Explanation

D = 5, E = 9, so B = min(5, 9) = 5 and α = 5 at the root. F = 2, so C ≤ 2 < 5 and G is pruned. Root = max(5, ≤ 2) = 5.

More Artificial Intelligence (AI) questions