**NPTEL Artificial Intelligence Search Methods For Problem Solving **the course aims to be successful, an autonomous agent should be able to move from a given situation or state of affairs to arrive at decisions that will transform one’s current situation into a desired goal-state. With the capacity to imagine the consequences of its decisions and actions, a robot can learn how to identify what works best in its environment versus what does not respond well towards the goal being sought after by an agent.

**Artificial Intelligence Search Methods For Problem Solving** is a MOOC course offered by IIT Madras on the NPTEL platform. This course helps the students to go into the details of how an agent can represent its world and reason with what it knows. The course is developed By **Prof. Deepak Khemani** is Professor at the Department of Computer Science and Engineering, IIT Madras.

UG/PG students who are interested in AI**INTENDED AUDIENCE:****Requirements/Prerequisites:**Nil**INDUSTRY SUPPORT:**Any industry

**CRITERIA TO GET A CERTIFICATE**

Average assignment score = 25% of the average of the best 8 assignments out of the total 12 assignments given in the course.

Exam score = 75% of the proctored certification exam score out of 100 Final score = Average assignment score + Exam score

Students will be eligible for CERTIFICATE ONLY IF AVERAGE ASSIGNMENT SCORE >=10/25 AND EXAM SCORE >= 30/75. If any of the 2 criteria are not met, the student will not get the certificate even if the Final score >= 40/100.

## NPTEL Artificial Intelligence Search Methods For Problem Solving ASSIGNMENT WEEK 12 ANSWERS:-

Contents

- 1 NPTEL Artificial Intelligence Search Methods For Problem Solving ASSIGNMENT WEEK 12 ANSWERS:-
- 2 NPTEL Artificial Intelligence Search Methods For Problem Solving ASSIGNMENT WEEK 11 ANSWERS:-
- 3 NPTEL Artificial Intelligence Search Methods For Problem Solving ASSIGNMENT WEEK 10 ANSWERS:-
- 4 NPTEL Artificial Intelligence Search Methods For Problem Solving ASSIGNMENT WEEK 9 ANSWERS:-
- 5 NPTEL Artificial Intelligence Search Methods For Problem Solving ASSIGNMENT WEEK 8 ANSWERS:-
- 6 NPTEL Artificial Intelligence Search Methods For Problem Solving ASSIGNMENT WEEK 7 ANSWERS:-
- 7 NPTEL Artificial Intelligence Search Methods For Problem Solving ASSIGNMENT WEEK 6 ANSWERS:-
- 8 NPTEL Artificial Intelligence Search Methods For Problem Solving ASSIGNMENT WEEK 5 ANSWERS:-
- 9 NPTEL Artificial Intelligence Search Methods For Problem Solving ASSIGNMENT WEEK 4 ANSWERS:-
- 10 NPTEL Artificial Intelligence Search Methods For Problem Solving ASSIGNMENT WEEK 3 ANSWERS:-
- 11 NPTEL Artificial Intelligence Search Methods For Problem Solving ASSIGNMENT WEEK 2 ANSWERS:-
- 12 NPTEL Artificial Intelligence Search Methods For Problem Solving ASSIGNMENT WEEK 1 ANSWERS:-

**Q1.** To model a problem as a CSP one has to __________________ .

**Answer:-** ab

**Q2.** A constraint on a subset of the variables __________________ .

**Answer:-** bd

**Q3.** Which of the following statements are true regarding solving a CSP?

**Answer:-** a

**Q4.** When a set of statements in Propositional Logic is seen as a CSP then __________________ .

**Answer:-** ad

**Q5.** When a set of statements in Propositional Logic is viewed as a CSP then __________________ .

**Answer:-** **ab**

**Q6.** While modeling components for the task of model based diagnosis, each component is modeled as _________

**Answer:-** c

**Q7.** The goal of constraint propagation or consistency enforcement is __________________ .

**Answer:-** d

**Q8.** Does the above puzzle have a unique solution?

**Answer:-** b

**Q9.** Is the value for the letter G unique for the above puzzle? If your answer is yes, then enter the value below, otherwise enter NIL.

**Answer:-** 1

**Q10.** Is more than one value possible for the letter J (in different solutions of course)?

**Answer:-** a

**Q11.** What can one say about the value for the letter D?

**Answer:-** b

**Q12.** What can one say about the value for the letter O?

**Answer:-** b

**Q13.** For the above CSP the value of D_{x} after the network is made arc consistent is _________ .

**Answer:-** 3,4,5

**Q14.** For the above CSP the value of D_{y} after the network is made arc consistent is _________ .

**Answer:-** 3,4

**Q15.** For the above CSP the value of D_{Z} after the network is made arc consistent is _________ .

**Answer:-** 3

**Q16.** The algorithm will next assign a value to the variable _________ .

**Answer:-** C

**Q17.** What is the value that the algorithm will assign to the above variable?

**Answer:-** g

**Q18.** What are the values in the domain D_{D} of region D at this point (after the variable in question 17 was assigned a value)?

**Answer:-** b

**Q19.** What are the values in the domain D_{E} of region E at this point (after the variable in question 17 was assigned a value)?

**Answer:-** r,b

**Q20.** What are the values in the domain D_{F} of region F at this point (after the variable in question 17 was assigned a value)?

**Answer:-** r,b,g

## NPTEL Artificial Intelligence Search Methods For Problem Solving ASSIGNMENT WEEK 11 ANSWERS:-

**Q1.** An agent who creates a representation of its domain, needs to have the ability to reason because ____________ .

**Answer:** **a,**b,c,d

**Q2.** Given a knowledge base KB of *true* statements, entailment is concerned with ____________ .

**Answer:-** **a**

**Q3.** A rule of inference ____________ .

**Answer:-** **b**,d

**Q4.** An algorithm for making inferences is a procedure to add new statements using rules of inference. The algorithm is ____________ .

**Answer:-** **a,d**

**Q5.** Modified Modus Ponens ____________ .

**Answer:-** **a,d**

**Q6.** Automated theorem proving is a search algorithm ____________ .

**Answer:- a,d**

**Q7.** Identify the true statements.

**Answer:-** **a,e**

**Q8.** Given a KB and a proof procedure, ____________ .

**Answer:-** **a,d**

**Q9.** Let P stand for “path is empty” and Q for “count is different” and ¬Q for “count is same”. Are the statements A and B, given below, equivalent? If yes, then identify the equivalence formula, or else, mark the last option.

**Answer:-** **c**

**Q10.** Select the valid entailments.

**Answer:-** **a,c**

**Q11.** Which of the following variable substitutions** (Θ)** will make the following two formulas equal.

**Answer:-** **b**

**Q12.** Consider a knowledge base with three statements:

**Answer:-** **a,c,d**,e

**Q13.** Identify the rules that participate in the MoveGen function for Forward Chaining. Against each rule write the number of instances of that rule that form the MoveGen with the above facts.

**Answer:-** 2,0,1,0

**Q14.** If the,, Forward Chaining algorithm runs till no more inferences are made, which of the following facts will be added to ,the KB?

**Answer:-** **a,b,e**

**Q15.** If the Goal is CanVisit(?X, concert) then which of the rules (A,B,C,D) will be part of the MoveGen in Backward Chaining? That is, what are the relevant rules that generate subgoals, and how many instances of those rules will find a place in the search tree rooted at the goal? Against each rule write the number of instances that will be in the MoveGen.

**Answer:-** **5,2,3,0**

**Q16.** If the Goal is CanVisit(?X, concert) which of the following goals will be reported as true by Backward Chaining?

**Answer:-** **a,b**

**Q17.** Which of the following queries/goals result in an answer “True” by a theorem prover in the Forward Chaining Mode?

**Answer:-** **a,b,c,d**

**Q18.** Which of the following queries/goals result in an answer “True” by a theorem prover in the Backward Chaining Mode?

**Answer:-** **d**

**Q19.** Which of the following queries/goals result in an answer “True” by a theorem prover in the Forward Chaining Mode?

**Answer:-** **d**

**Q20.** Which of the following queries/goals result in an answer “True” by a theorem prover in the Backward Chaining Mode?

**Answer:-** **a,b**

## NPTEL Artificial Intelligence Search Methods For Problem Solving ASSIGNMENT WEEK 10 ANSWERS:-

**Q1.** Select the options that relate to Production Systems.

**Answer:-** **b,d,g,f**

**Q2.** In a Production System, knowledge is stored as a ________ .

**Answer:-** **b**

**Q3.** Conflict resolution ____________

**Answer:-** **c**

**Q4.** In a Match-Resolve-Execute cycle ______________

**Answer:-** **b,e**

**Q5.** When a WME enters a Rete Net ______________.

**Answer:-** **b**

**Q6.** When the production system is in flight, after the first two rounds of firings, the newly created WME (timestamp 103) is _________ .

**Answer:-** **c**

**Q7.** When the production system is in flight, after rule-2 is fired for the second time, the newly created WME (timestamp 106) is _________ .

**Answer:-** **c**

**Q8.** Now, the production system has halted. In total, rule-1 was fired _______ times. Your answer must be a whole number.

**Answer:-** **7**

**Q9.** Now, the production system has halted. In total, rule-2 was fired _______ times. Your answer must be a whole number.

**Answer:-** **2**

**Q10.** How many classes are referred-to in the rule given above? Your answer must be a whole number.

**Answer:-** 2

**Q11.** Which of the following Rule-WME tuples will be present in the conflict set?

**Answer:-** **b,c,d**

**Q12.** How many WMEs will be present in the WM after 2 cycles of execution? Your answer must be a whole number.

**Answer:-** **6**

**Q13.** The location of WME 201 is _________ . Enter the label of the alpha nodes as a comma separated list in NUMERICAL ASCENDING order. Or enter Nil.

**Answer:-** **A9**

**Q14.** The location of WME 203 is ** _** .

**Answer:-** **A18,A19**

**Q15.** The location of WME 211 is _________ . Enter the label of the alpha nodes as a comma separated list in NUMERICAL ASCENDING order. Or enter Nil.

**Answer:-** **Nil**

**Q16.** The number of instances of R6 in the conflict set is _________ . Enter the count, or the number 0 if the rule is not in the conflict set.

**Answer:-** **1**

**Q17.** The number of instances of R4 in the conflict set is _________ . Enter the count, or the number 0 if the rule is not in the conflict set

**Answer:-** **2**

**Q18.** The number of instances of R2 in the conflict set is _________ . Enter the count, or the number 0 if the rule is not in the conflict set.

**Answer:-** **2**

**Q19.** If the inference engine uses **Specificity** as the conflict resolution strategy then identify the rule-data tuples that will be ready to fire. If multiple rule-data tuples qualify then choose the rule Ri with the smallest index i. Your answer must be a comma separated list starting with a rule label followed by the

**Answer:-**

**Q20.** If the inference engine uses **Recency** as the conflict resolution strategy then identify the rule-data tuples that will be ready to fire. If multiple rule-data tuples qualify then choose the rule Ri with the smallest index i.

**Answer:-**

## NPTEL Artificial Intelligence Search Methods For Problem Solving ASSIGNMENT WEEK 9 ANSWERS:-

**Q1.** From the set of actions given below, what are the actions that will be present in the first layer of the planning graph being constructed by algorithm Graphplan?

**Answer:-** **A,H,J(1,8,10)**

**All the best for the final exam, for extra preparation, take our membership for better score in exam read more here:- Final Exam Membership **

**Q2.** What is the number of actions, not counting the No-op actions, in the plan produced by Graphplan?

**Answer:-** **13**

**Q3.** What is the makespan of the plan produced by Graphplan?

**Answer:-** **5**

**Q4.** Which of the planning algorithms are guaranteed to find an optimal problem in **any domain**?

**Answer:-** **D**

**Q5.** The term “Means” in the Means-Ends-Analysis (MEA) proposed by Newell and Simon refers to

**Answer:-** **C**

**Q6.** The term “Ends” in the Means-Ends-Analysis (MEA) proposed by Newell and Simon refers to

**Answer:-** **C**

**Q7.** The term “Analysis” in the Means-Ends-Analysis (MEA) proposed by Newell and Simon refers to

**Answer:-C**

**Q8.** The main idea behind Means-Ends-Analysis is

**Answer:-** **C,D**

**Q9.** An And-Or graph is a graph where

**Answer:-** **B,C**

**Q10.** The AO* algorithm is most similar to

**Answer:-** **C**

**Q11.** The termination criterion for the AO* algorithm is

**Answer:-** **C,D**

**Q12.** Starting with S list the nodes in the order they are expanded by algorithm AO*. Observe that primitive nodes are not expanded. Your answer must be a comma separated list of node names.

**Answer:-** **S,A,E**

**Q13.** List the value of the start node S **after **every expansion listed above. Your answer must be a comma separated list of numbers.

**Answer:-** **37,32,28**

**Q14.** What is the cost of the solution found? Your answer must be a number.

**Answer:-** **28**

**Q15.** Is the solution found by the algorithm the optimal solution?

**Answer:-** **B**

**Q16.** Starting with S list the nodes in the order they are expanded by algorithm AO*. Observe that primitive nodes are not expanded. Your answer must be a comma separated list of node names.

**Answer:-** **S,A,D,E**

**Q17.** List the value of the start node S **after** every expansion listed above. Your answer must be a comma separated list of numbers.

**Answer:-41,47,50,55**

**Q18.** What is the cost of the solution found? Your answer must be a number.

**Answer:-** **55**

**Q19.** Is the solution found by the algorithm the optimal solution?

**Answer:-** **A**

**Q20.** Given the heuristic values given in the graph above, on inspection the heuristic function

**Answer:-** **B,C**

## NPTEL Artificial Intelligence Search Methods For Problem Solving ASSIGNMENT WEEK 8 ANSWERS:-

**Q1.** Which agent has the shortest optimal plan?

**Answer:-** **b(can be wrong, do it yourself and if wrong correct us)**

**Q2.** What is the length of the above agent’s optimal plan?

**Answer:-** **2**

**All the best for the final exam, for extra preparation, take our membership for better score in exam read more here:- Final Exam Membership **

**Q3.** Which agent has the longest optimal plan?

**Answer:-** **a**

**Q4.** What is the length of the above agent’s optimal plan?

**Answer:-** **7**

**Q5.** Using Forward State Space Planning (FSSP) which of the following could be the first operator considered by Ayesha?

**Answer:-** **c**

**Q6.**

**Answer:-** **e**

**Q7.**

**Answer:-** **c**

**Q8.**

**Answer:-** **f**

**Q9.**

**Answer:-** **a,b**

**Q10.**

**Answer:-** **b,e,f,g,h**

**Q11.**

**Answer:-** **b,d,f**

**Q12.**

**Answer:-** **a**

**Q13.**

**Answer:-** **d**

**Q14.**

**Answer:-** **b,d,g**

**Q15.**

**Answer:-** **b,c,d**

**Q16.**

**Answer:-** **a**

**Q17.**

**Answer:-** **a,c,d**

**All the best for the final exam, for extra preparation, take our membership for better score in exam read more here:- Final Exam Membership **

**Q18.**

**Answer:-** **b,d**

**Q19.**

**Answer:-10**

**Q20.**

**Answer:-** **a,d**

## NPTEL Artificial Intelligence Search Methods For Problem Solving ASSIGNMENT WEEK 7 ANSWERS:-

**Q1.** Game Theory is concerned with _________ .

**Answer:-** ** c,d**

**Q2.** The Prisoner’s Dilemma demonstrates that _________ .

**Answer:-** **c**

**Q3.** The games studied in this course are _________ .

**Answer:-** **a,b,c,d,f,h**

**Q4.** In the Alpha-Beta algorithm, list the line numbers where alpha-cutoff and beta-cutoff occur, respectively.

**Answer:-** **11,6**

**Q5.** A strategy for MAX in a two player game tree is a subtree that is chosen as below:

**Answer:-** **b**

**Q6.** Four two-player game-trees are shown below with some edges highlighted in bold. Which of these depict a game strategy for the root (MAX)?

**Answer:-** **a,b,c**

**Q7.** What is the outcome (W, L or D) of the game when both players play perfectly?

**Answer:-** **W**

**Q8.** Which of the moves P, Q, R, S are best moves for Max?

**Answer:-** **R**

**Q9.** Which of the moves P, Q, R, S lead to a draw if both play perfectly after the first move?

**Answer:-** **Q**

**Q10.** What is the MinMax value of the game?

**Answer:-** **68**

**Q11.** List the nodes (node reference numbers) in the best strategy.

**Answer:-** 3,4,5,6

**Q12.**Change the eval of one horizon node to get a MiniMax value of 64. Which node will you change and what will be its new eval? Choose the maximum possible eval for the horizon node that you wish to change.

**Answer:-** 4,64

**Q13.** Simulate AlphaBeta algorithm on Game Tree 1. What is the number of alpha-cuts and beta-cuts? Note that a single cut may remove a bunch of edges at once.

**Answer:-** 6,1

**Q14.** List the horizon nodes pruned by alpha-cuts.

**Answer:-** 10,12,13,14,15,16,18,20,21,22,23,24

**Q15.**List the horizon nodes pruned by beta-cuts.

**Answer:-** 7,8

**Q16.** What is the total number of strategies in Game Tree 1?

**Answer:-** 12

**Q17.** In Game Tree 1, what is the number of initial clusters formed by SSS*?

**Answer:-** 6

**Q18.** List the horizon nodes in the initial clusters formed by SSS*?

**Answer:-** 1,3,4,5,6,9,11,17,19

**Q19.** Simulate SSS* algorithm on Game Tree 1. **When the h-values are equal then select the leftmost deeper node in the tree to break the tie.** What is the total number of horizon nodes moved to SOLVED status by SSS*?

**Answer:-** 9

**Q20.** What are the horizon nodes that are assigned SOLVED status by SSS*? When h-values are equal then select the leftmost deeper node in the tree to break the tie.

**Answer:-** 1,3,4,5,6,9,11,17,19

## NPTEL Artificial Intelligence Search Methods For Problem Solving ASSIGNMENT WEEK 6 ANSWERS:-

**Q1.** In the city map, which of the following are true?

**Answer:-**

**Q2.** Beam Search is used before DCBFS and BSS to find an upper bound U for the solution. Which variations of Beam will do the task of finding U for going from S to G in the graph below?

**Answer:-**

The figure (repeated from Week 5) shows a map with several locations on a grid where each tile is 10 km x 10 km in size. In this map, S is the start node and G is the goal node, the locations are connected by two-way edges (roads). Each edge has a cost which is the same in both directions.

**Q3.** Using w=3 in f = g + w*h, simulate WA* algorithm on the given map. Let S be the first node to be inspected, now list the 4th, 5th and 6th nodes inspected by the algorithm.

**Answer:-**

**Q4.** What are the f-values of the 4th, 5th and 6th nodes listed in the previous question?

**Answer:-**

**Q5.** For WA* with w=3, what is the path found by the algorithm?

**Answer:-**

**Q6.** What is the cost of the path found by WA* algorithm? (Compare 3A* with Best First Search and A* from Week 5 assignment.)

**Answer:-**

**Q7.** List the 4th, 8th and 12th nodes inspected by BFHS.

**Answer:-**

**Q8.** What are the costs of the 4th, 8th and 12th nodes listed in the previous question?

**Answer:-**

**Q9.** List the nodes in OPEN after SMGS has inspected the 4th node, where S is the first node inspected.

**Answer:-**

**Q10.** List the nodes in the BOUNDARY after SMGS has inspected the 4th node, where S is the first node inspected.

**Answer:-**

**Q11.** List the nodes in the KERNEL after SMGS has inspected the 4th node, where S is the first node inspected.

**Answer:-**

**Q12.** List the nodes in OPEN after SMGS has inspected the 8th node, where S is the first node inspected.

**Answer:-**

**Q13.** List the nodes in the BOUNDARY after SMGS has inspected the 8th node, where S is the first node inspected.

**Answer:-**

**Q14.** List the nodes in the KERNEL after SMGS has inspected the 8th node, where S is the first node inspected.

**Answer:-**

**Q15.** List the nodes in OPEN after SMGS has inspected the 12th node, where S is the first node inspected.

**Answer:-**

**Q16.** List the nodes in the BOUNDARY after SMGS has inspected the 12th node, where S is the first node inspected.

**Answer:-**

**Q17.** List the nodes in the KERNEL after SMGS has inspected the 12th node, where S is the first node inspected.

**Answer:-**

**Q18.** What is the path found by Beam Search?

**Answer:-**

**Q19.** What is the cost of the path found in the previous question?

**Answer:-**

**Q20.** What is the other node in the beam (apart from G) at the point when the algorithm terminates?

**Answer:-**

## NPTEL Artificial Intelligence Search Methods For Problem Solving ASSIGNMENT WEEK 5 ANSWERS:-

**Q1.** Consider the (not to scale) map of Triangle Country. We can think of this map as a complete graph with hidden edges carrying an infinite (or +LARGE) cost. To avoid clutter the infinite-cost edges are not shown in the map.

**Answer:-** **108**

**Q2.** What is the actual cost of the optimal tour for the above problem?

**Answer:-** 296

**Q3.** The reasons why one needs to underestimate the estimated cost of fully refining a candidate in order to guarantee an optimal solution are:

**Answer:-** **a,d**

**Q4.** In the A* algorithm, the cost and parent pointers of new nodes (nodes not present in OPEN or CLOSED) are updated in _________________ .

**Answer:-** **a**

**Q5.** In the A* algorithm, the cost and parent pointers of nodes in OPEN list are updated in _________________ .

**Answer:-** **c**

**Q6.** In the A* algorithm, the cost and parent pointes of nodes in CLOSED list are updated in _________________ .

**Answer:-** **b**

**Q7.**

**Answer:-** **a,d**

**Q8.**

**Answer:-** **S,N,S,A,E**

**Q9.**

**Answer:-** **60,70,80,90,100**

**Q10.**

**Answer:-** **N,A,F,L,U**

**Q11.**

**Answer:-** **70,90,100,110,110**

**Q12.**

**Answer:-** **E,J,N,R,F**

**Q13.**

**Answer:-** **210,220,230,230,250**

**Q14.**

**Answer:-** **d**

**Q15.**

**Answer:-** **b**

**Q16.**

**Answer:-** **S,O,Q,R,V,G**

**Q17.**

**Answer:-** **290**

**Q18.**

**Answer:-** **S,K,H,M,P,G**

**Q19.**

**Answer:-** **350**

**Q20.**

**Answer:-** **a**

## NPTEL Artificial Intelligence Search Methods For Problem Solving ASSIGNMENT WEEK 4 ANSWERS:-

**Q1.** Consider the influence graph shown below, it depicts a closed ecosystem. Do not impose any more conditions (from nature) on this graph. Work only with the given data. Keep it simple.

**Answer:-** b,c,d,e

**Q2.** The idea of using population based methods to solve optimization problems _________ .

**Answer:-** c,d

**Q3.** Which of the following are true? Mark all correct answers

**Answer:-** b,c

**Q4.** Genetic Algorithms work best when _________ .

**Answer:-** a

**Q5.** Darwin’s theory of natural selection can be seen as _________ .

**Answer:-** c,d

**Q6.** Which one of the following completes the quote from Paul Valery in the context of Genetic Algorithms? “It takes two to invent anything. The one makes up combinations, _________________”

**Answer:-** b

**Q7.** When Christof Koch said “The most complex object in the known universe” he was referring to _________ .

**Answer:-** **d**

**Q8.** What is the role an individual ant plays in the Ant Colony Algorithm?

**Answer:-** c

**Q9.** Consider chromosomes made of 5-bit binary strings and a fitness function f(a,b,c,d,e) that is a square of (a + 2b + 3c + 4d + 5e) where “abcde” is the chromosome. An initial population is given in the table.

**Answer:-** 1,1,1,1

**Q10.** In the previous question, the individual instances selected for crossover are ___________ .

**Answer:-** A

**Q11.** The single point crossover can be used to solve the TSP problem if the representation is

**Answer:-** b

**Q12.** For each graph in the figure, produce a tour by traversing only along the given edges.

**Answer:-** a,B

**Q13.** Which of the following are valid path representations of the tour?

**Answer:-** **a,c** **CAN BE WRONG PLEASE DONT COPY BLINDLY**

**Q14.** Which of the following are valid adjacency representations of the tour?

**Answer:-** **b,d** **CAN BE WRONG PLEASE DONT COPY BLINDLY**

**Q15.** Which of the following are valid ordinal representations of the valid path representations listed in question **13**.

**Answer:-** **b,d** **CAN BE WRONG PLEASE DONT COPY BLINDLY**

**Q16.** Path representations of two tours are given below. Generate offsprings using Partially Mapped Crossover between P1 and P2 using the locations from 4 to 8 as the mapping segment.

**Answer:-** **U,X,P,T,Y,Q,Z,V,S,W,R** **CAN BE WRONG PLEASE DONT COPY BLINDLY**

**Q17.** Path representations of two tours are given below. Generate offsprings using Order Crossover between P1 and P2 and use locations from 4 to 8 as the mapping segment. In the child tour, retain the mapping segment in the middle. For example, C1 = ?,?,?,T,Y,Q,Z,V,?,?,?

**Answer:- U,S,Y,W,Q,T,R,P,Z,V,X** **CAN BE WRONG PLEASE DONT COPY BLINDLY**

**Q18.** Path representations of two tours are given below. Generate offsprings using Cycle Crossover between P1 and P2. Inherit odd cycles from one parent and even cycles from the other parent to create offspring.

**Answer:-** **R,U,V,T,Y,Q,Z,P,S,W,X** **CAN BE WRONG PLEASE DONT COPY BLINDLY**

**Q19.** Path representations of two tours are given below. Compute the ordinal representations of the parent tours. And use single point crossover (cut right after the 5th location) to generate offsprings.

**Answer:-** **3,5,3,3,6,2,2,1,1,2** **CAN BE WRONG PLEASE DONT COPY BLINDLY**

**Q20.** A single tour of N cities has a ___________ .

**Answer:-** **D** **CAN BE WRONG PLEASE DONT COPY BLINDLY**

## NPTEL Artificial Intelligence Search Methods For Problem Solving ASSIGNMENT WEEK 3 ANSWERS:-

**Q1.** In the map, starting with node S, list the first 7 nodes inspected by Depth First Search (DFS) algorithm. List the nodes in the order they were inspected. If the algorithm terminates early then list the nodes inspected up until termination.

**Answer:-** **S,E,A,B,C,D,I** **CAN BE WRONG DONT COPY BLINDLY**

**Q2.** In the map, starting with node S, list the first 7 nodes inspected by the Breadth First Search (BFS) algorithm. List the nodes in the order they were inspected. If the algorithm terminates early then list the nodes inspected up until termination.

**Answer:-** **S,E,J,K,O,A,B** **CAN BE WRONG DONT COPY BLINDLY**

**Q3.** Which node has the largest heuristic value? What is its heuristic value? Remember to use the Manhattan distance.

**Answer:-** **A,220** **CAN BE WRONG DONT COPY BLINDLY**

**Q4.** Which node has the smallest **non zero** heuristic value? What is its heuristic value? When there are multiple nodes with the smallest heuristic value then you may choose any one of those nodes.

**Answer:-** **Y,-30** **CAN BE WRONG DONT COPY BLINDLY**

**Q5.** In the map, starting with node S, list the first 7 nodes inspected by the Best First Search algorithm. During inspection if multiple candidate nodes have the same estimated cost then inspect those nodes in alphabetical order.

**Answer:-** **S,K,L,H,M,P,G** **CAN BE WRONG DONT COPY BLINDLY**

**Q6.** In the map, starting with node S, list the first 7 nodes inspected by Hill Climbing algorithm. During inspection if multiple nodes have the same cost then inspect those nodes in alphabetical order.

**Answer:-** **S,K,L** **CAN BE WRONG DONT COPY BLINDLY**

**Q7.** For the given map, which of the algorithms finds a path from the start node S to the goal node G?

**Answer:-** **A,B,D** **CAN BE WRONG DONT COPY BLINDLY**

**Q8.** For the given city map, try and find a TSP tour using only the edges in the map. Choose the correct options below.

**Answer:-** **A,B** **CAN BE WRONG DONT COPY BLINDLY**

**Q9.** For the given city map, starting from T and using only the given edges and Euclidean distance as the edge cost, construct a TSP tour using the Nearest Neighbour algorithm. Then,

**Answer:-** **C**

**Q10.**

**Answer:-** **3,4,4,4,2**

**Q11.**

**Answer:-** **10010,10100**

**Q12.**

**Answer:-**

**Q13.** Select the correct statements.

**Answer:-** **A,D** **CAN BE WRONG DONT COPY BLINDLY**

**NOTE:- THESE MAY BE INCORRECT PLEASE DON’T FOLLOW BLINDLY IF YOU THINK YOU KNOW THE RIGHT ANSWER FEEL FREE TO CORRECT US SHARE YOUR ANSWER ON TELEGRAM.**

**Q14.** Given a finite state space or a finite solution space, which of these algorithms will always find a path/solution if one exists?

**Answer:-** **A,B,C** **CAN BE WRONG DONT COPY BLINDLY**

**Q15.** Working with the 2-City-Exchange or the 2-Edge-Exchange operator means that:

**Answer:-** **C,D** **CAN BE WRONG DONT COPY BLINDLY**

**Q16.** The Iterated Hill Climbing algorithm _________ .

**Answer:-** **B,E**

**NOTE:- THESE MAY BE INCORRECT PLEASE DON’T FOLLOW BLINDLY IF YOU THINK YOU KNOW RIGHT ANSWER FEEL FREE TO CORRECT US SHARE YOUR ANSWER ON TELEGRAM.**

**Q17.** The Hill Climbing algorithm may run into a local optimum because _________.

**Answer:-** **A,B,C**

**Q18.** The Variable Neighbourhood Descent _________.

**Answer:-** **A,B**

**Q19.** Simulated Annealing _________.

**Answer:-** **A,C**

**Q20.** In stochastic local search _________.

**Answer:-** **B,D**

## NPTEL Artificial Intelligence Search Methods For Problem Solving ASSIGNMENT WEEK 2 ANSWERS:-

**Q1.** Starting from (0, 5, 3), what is the least number of moves required to reach (4, 4, 0)?

**Answer:-** **5** **CAN BE WRONG DONT COPY BLINDLY**

**Q2.** Starting from (4, 4, 0), what is the least number of moves required to reach (0, 5, 3)?

**Answer:-** **2** **CAN BE WRONG DONT COPY BLINDLY**

**Note:- WE NEVER PROMOTE COPYING AND We do not claim 100% surety of answers, these answers are based on our sole knowledge and by posting these answers we are just trying to help students to reference, so we urge do you assignment on your own.**

**Q3.** What is the total number of states reachable from (0, 5, 3) via zero, one or more moves?

**Answer:-** **14** **CAN BE WRONG DONT COPY BLINDLY**

**Q4.** Starting from (0, 5, 3), what is the least number of moves required to reach (6, y, z) where y and z can be any values?

**Answer:-** **2**

**Q5.** Starting from (0, 5, 3), what is the least number of moves required to measure 4 litres?

**Answer:-** **4**

**Q6.** Starting from (0, 5, 3), what is the least number of moves required to measure 1 litre?

**Answer:-** **3** **CAN BE WRONG DONT COPY BLINDLY**

**Note:- WE NEVER PROMOTE COPYING AND We do not claim 100% surety of answers, these answers are based on our sole knowledge and by posting these answers we are just trying to help students to reference, so we urge do you assignment own your own.**

**Q7.** Starting from (0, 5, 3), what is the least number of moves required to reach (3, 3, 2)?

**Answer:-** **D**

**Q8.** Which of the following is true about 6-5-3 water jug puzzle’s Reachable Subspace (see Notes) of the state space?

**Answer:-** **b,c**

**Q9.** Four search trees associated with the above state space are shown below, where the open nodes are white filled and the closed nodes are blue filled. The search trees are shown for the case when the goal test has passed and the algorithm has ended.

**Answer:-** **a**

**Q10.** Identify the BFS search tree?

**Answer:-** **b**

**Q11.** At the instance when BFS finds G, the CLOSED list is _____ .

**Answer:-** **yet to solve if know answer can drop in telegram group**

**Q12.**

**Answer:-**

**Q13.**

**Answer:-**

**Q14.**

**Answer:-**

**Q15.**

**Answer:-**

**Q16.**

**Answer:-**

**Q17.**

**Answer:-**

**Q18.**

**Answer:-**

**Q19.**

**Answer:-**

**Q20.**

**Answer:-**

## NPTEL Artificial Intelligence Search Methods For Problem Solving ASSIGNMENT WEEK 1 ANSWERS:-

**Q1.** ________ is often referred to as the “first programmer”.

**Answer:- C – Lady Ada Lovelace**

**Q2.** Who among the following was the first to build a calculating machine?

**Answer:- ** **B – Blaise Pascal**

**Q3.**What can you recall about the “Dartmouth conference” discussed in the lectures? Remember that you will get a zero for even one wrong choice.

**Answer:- B, C**

**Q4.** Who said the following? – “Thoughts themselves are symbolic representations”

**Answer:- B**

**Q5.** The “Universal Grammar” is ______________________

**Answer:- B,C**

**Q6.** Can you recall the picture (below) from the lectures? In what context was it used?

**Answer:- A- To express the richness,**

**Q7.** The “Logic Theorist” is ____________________

**Answer:- A,C**

**Q8.** Which of the following statements is/are true about “Physical Symbol System Hypothesis”?

**Answer:- A,B**

**Q9.**_________ was the first general-purpose mobile robot to be able to reason about its own actions.

**Answer:- C – SHAKEY**

**Q10.** ELIZA _________

**Answer:- B,C**

**Q11.** Which of the following addresses the question whether machines can be intelligent? Tick all correct answers.

**Answer:- B,C,D**

**Q12.**As discussed in the lectures, which of the following is/are successfully deployed embodied robots in the current times?

**Answer:- B,C**

**NOTE:- IF THERE IS ANY CHANGE IN ANSWERS OF Artificial Intelligence Search Methods For Problem WILL UPDATE BEFORE LAST DATE AND NOTIFY ON TELEGRAM OR WHATSAPP. SO KINDLY JOIN US, CLICK ON BELOW IMAGE AND JOIN US.**

**Q13.** Which of the following AI agents demonstrated that machines can beat the very best humans at chess?

**Answer:- C – Deep Blue**

**Q14.**As discussed in the “Artificial Intelligence: Search Methods for Problem Solving – Prologue”, this course is about

**Answer:- A,B**

**Q15.** The motorcycle soon overtook the school bus because it was going very fast. What was going very fast?

**Answer:- A**

**Q16.**The motorcycle soon overtook the school bus because it was going very slow. What was going very slow?

**Answer:- B**

**Q17.** Suresh told Ramesh that he scolded him because he had hit the little dog. Who had hit the little dog?

**Answer:- ** **B**

**Q18.** Suresh told Ramesh that he scolded him because he had hit the little dog. Who did the scolding?

**Answer:- A**

**Q19.** Snigdha told Ramesh that she scolded him because she was in a bad mood. Who was in a bad mood?

**Answer:- A**

**Q20.** The above five questions involve ** anaphora resolution**. For a computer program to answer the above five questions correctly it would

**Answer:- B,C**

**ALSO CHECK:- INTERNSHIP OPPORTUNITIES**