Final 2016
Final 2016
Final Exam
60 Eight
Nine
Total Marks
Q4) Describe and evaluate A* search strategy. What are the difference
between A* and IDA*? (8 Marks)
Q5) Decide whether each of the following sentences is valid, satisfiable,
or unsatisfiable. Verify your decisions using model checking.
(5 Marks)
a. Smoke ⇒ Fire
Figure 1 Figure 2
a) Should Max choose the left or right branch if the depth of the search is 3 (i.e.,
Max chooses, Min chooses, Max chooses)? Show the minimax values in the tree.
(2 marks)
b) Should Max choose the left or right branch if the depth of the search is 4? Show
the minimax values in the tree. (2 marks)
c) Is the minimax values change when computed via a depth-3 vs. depth-4 search ,
Explain why. (2 marks)
d) Using the full tree (figure 2), show alpha-beta pruning by circling all pruned
nodes. Assume that nodes are evaluated from left to right. (3 marks)
Q7) (7 marks)
a) Translate into first-order logic the following sentences:
(Remember to define all predicates, functions, and constants.)
(2 marks)
1- If someone understands someone, then he/she is that someone’s friend.
2)A value is assigned to A, and then forward checking is run for A. Then a value is
assigned to B. Which domains might be changed as a result of running forward
checking for B?
( )A ( )B ( )C ( )D ( )E ( )F ( ) No one
3)A value is assigned to A, and then forward checking is run for A. Then a value is
assigned to D. Which domains might be changed as a result of running forward
checking for D?
( )A ( )B ( )C ( )D ( )E ( )F ( ) No one
4)A value is assigned to A, and then forward checking is run for A. Then a value is
assigned to C. Which domains might be changed as a result of running forward
checking for C?
( )A ( )B ( )C ( )D ( )E ( )F ( ) No one