Professional Documents
Culture Documents
Iszc444 Sep20 An
Iszc444 Sep20 An
Mid-Semester Test
(EC-2 Regular)
Course No : IS ZC444
Course Title : Artificial Intelligence
Nature of Exam : Closed Book No. of Pages = 2
Duration : 2 hours No. of Questions = 3
Total : 30 marks
Date : 20/09/2019 (AN)
Note to Students:
1. Please follow all the Instructions to Candidates given on the cover page of the answer book.
2. All parts of a question should be answered consecutively. Each answer should start from a fresh page.
3. Assumptions made if any, should be stated clearly at the beginning of your answer.
Path cost (i.e. length of a path) is the performance measure that the goal-based
agent tries to optimize.
(a) Which data structures are used by Breadth-first search and Uniform cost search (2 marks)
respectively?
(b) Which path will the agent take if it uses Breadth-first-search? (2 marks)
(c) What will be the sequence of nodes that will be popped from the queue if the (4 marks)
goal based agent is using Uniform-cost search to find a path from P to A?
(d) Which path will the agent take if it uses Uniform cost search? (1 mark)
(e) In this question, which of the two search algorithms will be optimal? (1 mark)
(a) Write an expression for the joint probability P (C, S, R, W ) in terms of the con- (2 marks)
ditional probabilities in the network.
(b) Find the probability that it is cloudy, sprinkler is off and it is raining (3 marks)
(i.e. P (C = T, S = F, R = T )).
(c) What is the probability that it is raining given that it is cloudy and the grass is (5 marks)
wet (i.e. P (R = T |C = T, W = T ))?