Professional Documents
Culture Documents
Question No-1: Differentiate the following with the help of diagram. Marks [2+2+2=6]
a. List the steps in the Hill-Climbing algorithm to find a path in a search space. Under which
circumstances may the algorithm fail to find a solution even though one exists? Illustrate with an
example.
b. Distinguish between state space search and adversarial search, indicating the similarities and
differences between these approaches.
c. Compare and contrast heuristic search and exhaustive search. Which compromises are accepted by the
heuristic approach?. Illustrate your answer with examples of heuristics.
a. Model the Eight Queens Problem as a State Space Search Problem. Define the initial and goal states, and all
valid operators.
Figure 1
Figure 2
(c) Consider the following game tree in which static scores are from the maximising player’s point of view.
Which move should be chosen? Which nodes need not be examined in a left to right alpha-beta pruning? Which
nodes need not be examined in a right to left alpha-beta pruning? Marks [4]
(d) Apply A* to find an optimal path in the search space (Figure 1). Provide a full trace of the algorithm. Assume
that s is the start node and g is a goal node in the space. The arcs are labelled by their costs and the nodes are
labelled by their heuristics. What is the optimal path? Marks [3]
++++++++++