You are on page 1of 3

Mid Term Exam

Credit Hours: 3 Artificial Intelligence Time allowed: 2:30 Hrs


Course Code: CS-331 Maximum Marks: 25

Question No-1: Differentiate the following with the help of diagram. Marks [2+2+2=6]

a. Explain the condition with the help of an example.” your heuristic cost should never be
overestimated.”
b. Briefly compare and contrast a depth first search technique with a breadth first search technique under
the following headings: (i) Reaching Optimal Solutions and (ii) Memory Efficiency
c. Distinguish between blind search and adversarial search, indicating the similarities and differences
between these approaches.

Question No-2: Considering the following figure, determine which heuristic is admissible? Marks [4]

Question-3: State the Following Marks [4]


(a)

Figure 1

1. What is the order of states expanded using Depth First Search?


2. What is the order of states expanded using Breadth First Search?
3. What is the order of states expanded using Best First Search?
4. What is the order of states expanded using Iterative deepening Search?
(b) Apply minimax to the game tree in Figure 2. Which move should be chosen if the root is a maximizing player?
Which move should be chosen if the root is a minimizing player? Marks [4]

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]

++++++++++

You might also like