Docsity

Terminal Test - Artificial Intelligence - Quiz, Exercises of Artificial Intelligence

Toggle sidebar
bg1
CS-271, Intro to A.I. โ€” Quiz#2 โ€” Winter Quarter, 2013 โ€” 20 minutes
YOUR NAME AND EMAIL ADDRESS:
YOUR ID: ID TO RIGHT: ROW: NO. FROM RIGHT:
1. (30 pts total, -5 pts for each error, but not negative) MINI-MAX SEARCH IN GAME TREES.
The game tree below illustrates a position reached in the game. Process the tree left-to-right. It is Max's turn to
move. At each leaf node is the estimated score returned by the heuristic static evaluator.
1.a. Fill in each blank square with the proper mini-max search value.
1.b. What is the best move for Max? (write A, B, or C)
2. (30 pts total, -5 for each error, but not negative) ALPHA-BETA PRUNING. Process the tree left-to-
right. This is the same tree as above (1.a). You do not need to indicate the branch node values again.
Cross out each leaf node that will be pruned by Alpha-Beta Pruning.
**** TURN PAGE OVER AND CONTINUE ON THE OTHER SIDE ****
7
(Min)
(Max)
(Max)
6
8
9
5
3
2
4
8
9
2
2
8
4
1
8
4
4
9
3
1
2
3
2
6
9
(A)
(B)
(C)
7
(Min)
(Max)
(Max)
6
8
9
5
3
2
4
4
8
9
2
2
8
4
1
8
4
4
9
3
1
2
3
2
6
9
(A)
(B)
(C)
pf2

Partial preview of the text

Download Terminal Test - Artificial Intelligence - Quiz and more Exercises Artificial Intelligence in PDF only on Docsity!

CS-271, Intro to A.I. โ€” Quiz#2 โ€” Winter Quarter, 2013 โ€” 20 minutes

YOUR NAME AND EMAIL ADDRESS:

YOUR ID: ID TO RIGHT: ROW: NO. FROM RIGHT:

1. (30 pts total, -5 pts for each error, but not negative) MINI-MAX SEARCH IN GAME TREES. The game tree below illustrates a position reached in the game. Process the tree left-to-right. It is Max 's turn to move. At each leaf node is the estimated score returned by the heuristic static evaluator.

1.a. Fill in each blank square with the proper mini-max search value.

1.b. What is the best move for Max? (write A, B, or C)

2. (30 pts total, -5 for each error, but not negative) ALPHA-BETA PRUNING. Process the tree left-to- right. This is the same tree as above (1.a). You do not need to indicate the branch node values again.

Cross out each leaf node that will be pruned by Alpha-Beta Pruning.

**** TURN PAGE OVER AND CONTINUE ON THE OTHER SIDE ****

(Min)

(Max)

(Max)

(A) (B) (C)

(Min)

(Max)

(Max)

(A) (B) (C)

3. (20 pts total, 2 pts each) ADVERSARIAL (GAME) SEARCH CONCEPTS. For each of the following terms on the left, write in the letter corresponding to the best answer or the correct definition on the right.

Game Strategy A Approximates the value of a game state (i.e., of a game position)

Cut-off Test B In all game instances, total pay-off summed over all players is a constant

Alpha-Beta Pruning C Tree where nodes are game states and edges are game moves

Weighted Linear Function

D Function that specifies a playerโ€™s move in every possible game state

Terminal Test E Returns same move as MiniMax, but may prune more branches

ExpectiMiniMax F Optimal strategy for 2-player zero-sum games of perfect information, but impractical given limited time to make each move Game Tree G Vector dot product of a weight vector and a state feature vector

Heuristic Evaluation Function

H Function that decides when to stop exploring this search branch

Zero-sum Game I Generalizes MiniMax to apply to games with chance (stochastic games)

MiniMax Algorithm J Function that says when the game is over

4. (20 pts total, 2 pts each) CONSTRAINT SATISFACTION PROBLEM (CSP) CONCEPTS. For each of the following terms on the left, write in the letter corresponding to the best answer or the correct definition on the right.

Minimum Remaining Values Heuristic

A Set of allowed values for some variable

Degree Heuristic B Specifies the allowable combinations of variable values

Min-Conflicts Heuristic C Every variable is associated with a value

Solution to a CSP D The values assigned to variables do not violate any constraints

Least Constraining Value Heuristic

E A complete and consistent assignment

Domain F Nodes correspond to variables, links connect variables that participate in a constraint Constraint G Chooses the next variable to expand to have the fewest legal values in its domain

Consistent Assignment H Chooses the next variable to expand to have the largest number of constraints on other unassigned variables Complete Assignment I Prefers to search next the value that rules out the fewest choices for the neighboring variables in the constraint graph Constraint Graph J Select the value that results in fewest conflicts with other variables