Question Paper Code : 70016
B.E./B.Tech. DEGREE EXAMINATIONS, NOVEMBER/DECEMBER 2022.
Third Semester
Artificial Intelligence and Data Science
AL 3391 — ARTIFICIAL INTELLIGENCE
(Common to : Computer Science and Engineering (Artificial Intelligence and Machine Learning))
(Regulations 2021)
Answer ALL questions.
PART A — (10 × 2 = 20 marks)
- 1.
Characterize the environment of an agent playing soccer.
- 2.
Can an agent that senses only partial information about the state always be perfectly rational?
- 3.
Define admissible and dominant heuristics.
- 4.
What is the purpose of a contingency plan?
- 5.
In the game tree given below, triangle represents Max node, inverted triangle represents min node and circle represents chance nodes. Find the utility value of the root node. [Figure: Max root with two chance nodes; each chance node has two min-node children with probability 0.5 each; the min nodes have leaf values (2, 2), (1, 2), (0, 2) and (-1, 0)]
- 6.
Give a precise formulation of the following constraint satisfaction problem in terms of variables, domain and constraints: There are a five professors and 10 classrooms, a list of classes to be offered, and a list of possible time slots for classes Each professor has a set of classes that he or she can teach.
- 7.
State the converse and contrapositive of the statement "When I stay up late, it is necessary that I sleep until noon".
- 8.
Define the terms belief state and state estimation.
- 9.
How are Bayesian networks represented?
- 10.
What is the purpose of relational probability models?
PART B — (5 × 13 = 65 marks)
- 11.(a)
Define an agent. Explain the four basic agents that embody the principles underlying intelligent systems with examples.
- Or
- (b)
Consider a state space given below. [Figure: complete binary tree with root 1; children of 1 are 2 and 3; children of 2 are 4 and 5; children of 3 are 6 and 7; children of 4 are 8 and 9; of 5 are 10 and 11; of 6 are 12 and 13; of 7 are 14 and 15]
- (i)If the goal state is numbered '11', list the order in which the states will be visited using (1) breadth first search (2) depth first search (3) depth limited search with a limit 2 (depth of the root is 0) (4) iterative deepening search.
- (ii)If iterative deepening search is used to traverse the state space, how many times will the state space tree be constructed to reach the goal?
- (iii)If bidirectional search is used to reach the goal state, what would be the branching factor in the forward and backward direction?
- 12.(a)
Outline A* Algorithm. Trace the algorithm to find the shortest route from Lugoj to Bucharest using the straight line distance heuristic. Show the sequence of nodes traversed by the algorithm. The straight line distances are given below. [Figure: Romania road map - Oradea-Zerind 71, Zerind-Arad 75, Oradea-Sibiu 151, Arad-Sibiu 140, Arad-Timisoara 118, Timisoara-Lugoj 111, Lugoj-Mehadia 70, Mehadia-Dobreta 75, Dobreta-Craiova 120, Sibiu-Fagaras 99, Sibiu-Rimnicu Vilcea 80, Rimnicu Vilcea-Pitesti 97, Rimnicu Vilcea-Craiova 146, Craiova-Pitesti 138, Pitesti-Bucharest 101, Fagaras-Bucharest 211, Bucharest-Giurgiu 90, Bucharest-Urziceni 85, Urziceni-Hirsova 98, Hirsova-Eforie 86, Urziceni-Vaslui 142, Vaslui-Iasi 92, Iasi-Neamt 87] [Table: Town / Air Dist.: Arad 366; Bucharest 0; Craiova 160; Dobreta 242; Eforie 161; Fagaras 176; Giurgiu 77; Hirsova 151; Iasi 226; Lugoj 244; Mehadia 241; Neamt 234; Oradea 380; Pitesti 100; Rimnicu Vilcea 193; Sibiu 253; Timisoara 329; Urziceni 80; Vaslui 199; Zerind 374]
- Or
- (b)
How does online agents search in unknown environments?
- 13.(a)
Consider the map coloring problem with 6 variables and three colors (red, green and blue). The constraint graph for the problem is given below. How does backtracking search solve the given problem? What are the heuristics used to improve the efficiency of the search? How are failures detected early in backtracking? Can Breadth first search be applied to the above problem? State reasons for your answer. [Figure: constraint graph with nodes WA, NT, Q, SA, NSW, V; edges WA-NT, WA-SA, NT-SA, NT-Q, SA-Q, SA-NSW, Q-NSW, SA-V, NSW-V]
- Or
- (b)
What are partially observable games? How are they solved in a deterministic environment?
- 14.(a)
Express the following statements as predicates: All people who are not poor and are smart are happy; Those people who read are not stupid. John can read and is wealthy. Happy people have exciting lives. Skolemnize the above statements if required and prove the following by resolution: "Can anyone be found with an exciting life?" (Assume ~ stupid = smart, wealthy = ~ poor)
- Or
- (b)
During a murder investigation, you have gathered some clues. Express them as propositions and solve the following scenario using laws of inference. The clues gathered are given below: If the knife is in the store room, then we saw it when we cleared the store room. The murder was committed at the basement or inside the apartment. If the murder was committed at the basement, then the knife is in the yellow dust bin. We did not see a knife when we cleared the store room. If the murder was committed outside the building, then we are unable to find the knife; If the murder was committed inside the apartment, then the knife is in the store room. Find:: "where is the knife?"
- 15.(a)
- (i)Consider there are 3 boolean variables toothache, catch and cavity. From the full joint distribution given below, calculate the following: [Table: toothache - catch, not catch; not toothache - catch, not catch. cavity: 0.108, 0.012, 0.072, 0.008; not cavity: 0.016, 0.064, 0.144, 0.576] (1) P(toothache) (2) P(Cavity) (3) P(Toothache | cavity) (4) P(Cavity | toothache v catch)(8)
- (ii)What is d-separation? When are two nodes d-separated? From the Bayesian network given below, find whether D and E d-separated given evidence about both A and B? State reasons for your answer. [Figure: Bayesian network with edges A->C, B->C, C->D, C->E, D->F, E->G, F->H, G->H](5)
- Or
- (b)
How does direct sampling methods help in approximate inference?
PART C — (1 × 15 = 15 marks)
- 16.(a)
Consider the following game tree in which the static scores (in parentheses at the tip nodes) are all from the first players point of view. Assume that the first player is the maximizing player. [Figure: game tree - root A has children B, C, D; B has children E, F, G; C has children H, I; D has children J, K; leaves: E: L(2), M(3); F: N(8), O(5); G: P(7), Q(6); H: R(0), S(1); I: T(5), U(2); J: V(8), W(4); K: X(10), Y(2)] Which move should the first payer choose? Use minimax algorithm on the game tree and list the nodes which would not be examined using the alpha-beta algorithm assuming that nodes are examined in left-to-right order? Will the same branches be pruned if the nodes are examined In right-to-left order? Is alpha-beta algorithm guaranteed to force a win whenever possible? State reasons.
- Or
- (b)
You have a new burglar alarm installed at home. It is fairly reliable at detecting a burglary, but also responds on occasion to minor earthquakes. You also have two neighbors, John and Mary, who have promised to call you at work when they hear the alarm. John nearly always calls when he hears the alarm, but sometimes confuses the telephone ringing with the alarm and calls then, too. Mary, on the other hand, likes rather loud music and often misses the alarm altogether. The Bayesian network and the conditional probability table (CPT) for the scenario is given below. In the CPTs, the letters B, E, A, J, and M stand for Burglary, Earthquake, Alarm, JohnCalls, and Marycalls, respectively. From the Bayesian network, find P(B /J,M) using variable elimination. [Figure: Burglary -> Alarm <- Earthquake; Alarm -> JohnCalls, Alarm -> MaryCalls. P(B) = .001; P(E) = .002; P(A | B, E): t,t .95; t,f .94; f,t .29; f,f .001; P(J | A): t .90, f .05; P(M | A): t .70, f .01]