MauryaHub PYQ Practice

AI: Search Methods for Problem Solving · Quiz 1 · Jan 2024

AI: Search Methods for Problem Solving · Quiz 1 · Jan 2024

← Course papers · Start practice / exam

Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.

0 / 21 published solutions

Question 21 MCQ · 0.0 marks

Source diagram or notation
6406532474045.
Printed graph sheets were provided to me.`
6406532474046.
Printed graph sheets were not provided to me.
6406532474047.
I did not use graph sheets.

A published solution is not available for this question yet.

Report a correction for Q21

Question 22 MCQ · 1.0 marks

**STATE SPACE** One needs to count the number of nodes visited in each cycle of DFID __________ .
6406532474048.
to compute the complexity of search
6406532474049.
to make sure that the path returned is the shortest
6406532474050.
to prevent the algorithm from getting into an infinite loop on an INFINITE graph when a goal node exists in the connected component
6406532474051.
to prevent the algorithm from getting into an infinite loop on a FINITE graph when the goal node does not exist in the connected component

A published solution is not available for this question yet.

Report a correction for Q22

Question 23 MCQ · 1.0 marks

**STATE SPACE** In the Ant Colony Optimisation algorithm for solving the TSP __________ .
6406532474052.
all the ants in the colony start from the same start city and then go in different directions
6406532474053.
all ants construct the solution using a collaborative filtering approach
6406532474054.
each ant constructs a tour independently
6406532474055.
each ant constructs a tour using follow the leader principle

A published solution is not available for this question yet.

Report a correction for Q23

Question 24 MSQ · 2.0 marks

**STATE SPACE**
Source diagram or notation
6406532474056.
(13,NIL,2)
6406532474057.
(NIL,3,21)
6406532474058.
(1,3,2)
6406532474059.
(NIL,NIL,123)

A published solution is not available for this question yet.

Report a correction for Q24

Question 25 SHORT_TEXT · 1.0 marks

**SEARCH** The figure shows a map with several locations on a grid where each tile is 1x1 in size. The locations are at grid points and are connected by either two-way edges (shown as undirected edges) or one- way edges (shown with one arrowhead). Take S as the start node and G as the goal node. The MoveGen function returns neighbours in alphabetical order. The RemoveSeen procedure removes neighbours already present in OPEN/CLOSED lists. Use Manhattan distance when needed.
Source diagram or notation
When we say a node is inspected/expanded/refined it means: the node is picked up from OPEN, and goal test is called, if goal test fails then MoveGen is called and depending on the algorithm the neighbours are selectively placed in OPEN. Based on the above data, answer the given subquestions.
List the first 4 nodes inspected by Depth First Search. List the nodes in the order they were inspected. If the algorithm terminates early then list the nodes inspected up until termination. Enter a comma separated list of node labels. NO SPACES, TABS, DOTS, BRACKETS, PARENTHESIS OR UNWANTED CHARACTERS. **Answer Format: S,X,Y,Z**

A published solution is not available for this question yet.

Report a correction for Q25

Question 26 SHORT_TEXT · 1.0 marks

**SEARCH** The figure shows a map with several locations on a grid where each tile is 1x1 in size. The locations are at grid points and are connected by either two-way edges (shown as undirected edges) or one- way edges (shown with one arrowhead). Take S as the start node and G as the goal node. The MoveGen function returns neighbours in alphabetical order. The RemoveSeen procedure removes neighbours already present in OPEN/CLOSED lists. Use Manhattan distance when needed.
Source diagram or notation
When we say a node is inspected/expanded/refined it means: the node is picked up from OPEN, and goal test is called, if goal test fails then MoveGen is called and depending on the algorithm the neighbours are selectively placed in OPEN. Based on the above data, answer the given subquestions.
What is the path found by Depth First Search? Enter the path as a comma separated list of node labels. Enter NIL if there is no path. NO SPACES, TABS, DOTS, BRACKETS, PARENTHESIS OR UNWANTED CHARACTERS. **Answer Format: S,X,Y,G**

A published solution is not available for this question yet.

Report a correction for Q26

Question 27 SHORT_TEXT · 1.0 marks

**SEARCH** The figure shows a map with several locations on a grid where each tile is 1x1 in size. The locations are at grid points and are connected by either two-way edges (shown as undirected edges) or one- way edges (shown with one arrowhead). Take S as the start node and G as the goal node. The MoveGen function returns neighbours in alphabetical order. The RemoveSeen procedure removes neighbours already present in OPEN/CLOSED lists. Use Manhattan distance when needed.
Source diagram or notation
When we say a node is inspected/expanded/refined it means: the node is picked up from OPEN, and goal test is called, if goal test fails then MoveGen is called and depending on the algorithm the neighbours are selectively placed in OPEN. Based on the above data, answer the given subquestions.
List the first 4 nodes inspected by Breadth First Search. List the nodes in the order they were inspected. If the algorithm terminates early then list the nodes inspected up until termination. Enter a comma separated list of node labels. NO SPACES, TABS, DOTS, BRACKETS, PARENTHESIS OR UNWANTED CHARACTERS. **Answer Format: S,X,Y,Z**

A published solution is not available for this question yet.

Report a correction for Q27

Question 28 SHORT_TEXT · 2.0 marks

**SEARCH** The figure shows a map with several locations on a grid where each tile is 1x1 in size. The locations are at grid points and are connected by either two-way edges (shown as undirected edges) or one- way edges (shown with one arrowhead). Take S as the start node and G as the goal node. The MoveGen function returns neighbours in alphabetical order. The RemoveSeen procedure removes neighbours already present in OPEN/CLOSED lists. Use Manhattan distance when needed.
Source diagram or notation
When we say a node is inspected/expanded/refined it means: the node is picked up from OPEN, and goal test is called, if goal test fails then MoveGen is called and depending on the algorithm the neighbours are selectively placed in OPEN. Based on the above data, answer the given subquestions.
What is the path found by Breadth First Search? Enter the path as a comma separated list of node labels. Enter NIL if there is no path. NO SPACES, TABS, DOTS, BRACKETS, PARENTHESIS OR UNWANTED CHARACTERS. **Answer Format: S,X,Y,Z,G**

A published solution is not available for this question yet.

Report a correction for Q28

Question 29 SHORT_TEXT · 1.0 marks

**SEARCH** The figure shows a map with several locations on a grid where each tile is 1x1 in size. The locations are at grid points and are connected by either two-way edges (shown as undirected edges) or one- way edges (shown with one arrowhead). Take S as the start node and G as the goal node. The MoveGen function returns neighbours in alphabetical order. The RemoveSeen procedure removes neighbours already present in OPEN/CLOSED lists. Use Manhattan distance when needed.
Source diagram or notation
When we say a node is inspected/expanded/refined it means: the node is picked up from OPEN, and goal test is called, if goal test fails then MoveGen is called and depending on the algorithm the neighbours are selectively placed in OPEN. Based on the above data, answer the given subquestions.
List the first 4 nodes inspected by Best First Search. List the nodes in the order they were inspected. If the algorithm terminates early then list the nodes inspected up until termination. Enter a comma separated list of node labels. NO SPACES, TABS, DOTS, BRACKETS, PARENTHESIS OR UNWANTED CHARACTERS. **Answer Format: S,X,Y,Z**

A published solution is not available for this question yet.

Report a correction for Q29

Question 30 SHORT_TEXT · 2.0 marks

**SEARCH** The figure shows a map with several locations on a grid where each tile is 1x1 in size. The locations are at grid points and are connected by either two-way edges (shown as undirected edges) or one- way edges (shown with one arrowhead). Take S as the start node and G as the goal node. The MoveGen function returns neighbours in alphabetical order. The RemoveSeen procedure removes neighbours already present in OPEN/CLOSED lists. Use Manhattan distance when needed.
Source diagram or notation
When we say a node is inspected/expanded/refined it means: the node is picked up from OPEN, and goal test is called, if goal test fails then MoveGen is called and depending on the algorithm the neighbours are selectively placed in OPEN. Based on the above data, answer the given subquestions.
What is the path found by Best First Search? Enter the path as a comma separated list of node labels. Enter NIL if there is no path. NO SPACES, TABS, DOTS, BRACKETS, PARENTHESIS OR UNWANTED CHARACTERS. **Answer Format: S,X,Y,Z,G**

A published solution is not available for this question yet.

Report a correction for Q30

Question 31 SHORT_TEXT · 1.0 marks

**SEARCH** The figure shows a map with several locations on a grid where each tile is 1x1 in size. The locations are at grid points and are connected by either two-way edges (shown as undirected edges) or one- way edges (shown with one arrowhead). Take S as the start node and G as the goal node. The MoveGen function returns neighbours in alphabetical order. The RemoveSeen procedure removes neighbours already present in OPEN/CLOSED lists. Use Manhattan distance when needed.
Source diagram or notation
When we say a node is inspected/expanded/refined it means: the node is picked up from OPEN, and goal test is called, if goal test fails then MoveGen is called and depending on the algorithm the neighbours are selectively placed in OPEN. Based on the above data, answer the given subquestions.
List the first 4 nodes inspected by Hill Climbing. List the nodes in the order they were inspected. If the algorithm terminates early then list the nodes inspected up until termination. Enter a comma separated list of node labels. NO SPACES, TABS, DOTS, BRACKETS, PARENTHESIS OR UNWANTED CHARACTERS. **Answer Format: S,X,Y,Z**

A published solution is not available for this question yet.

Report a correction for Q31

Question 32 SHORT_TEXT · 1.0 marks

**SEARCH** The figure shows a map with several locations on a grid where each tile is 1x1 in size. The locations are at grid points and are connected by either two-way edges (shown as undirected edges) or one- way edges (shown with one arrowhead). Take S as the start node and G as the goal node. The MoveGen function returns neighbours in alphabetical order. The RemoveSeen procedure removes neighbours already present in OPEN/CLOSED lists. Use Manhattan distance when needed.
Source diagram or notation
When we say a node is inspected/expanded/refined it means: the node is picked up from OPEN, and goal test is called, if goal test fails then MoveGen is called and depending on the algorithm the neighbours are selectively placed in OPEN. Based on the above data, answer the given subquestions.
What is the path found by Hill Climbing? Enter the path as a comma separated list of node labels. Enter NIL if there is no path. NO SPACES, TABS, DOTS, BRACKETS, PARENTHESIS OR UNWANTED CHARACTERS. **Answer Format: S,X,Y,Z,G**

A published solution is not available for this question yet.

Report a correction for Q32

Question 33 MSQ · 1.0 marks

**Genetic Algorithm** A tour of 12 cities is shown below. The edges are bi-directional. Use A,B,...,L as the reference (index) sequence to prepare tour representations.
Source diagram or notation
Based on the above data, answer the given subquestions.
Select the valid path representations of the tour.
6406532474068.
F,I,L,E,H,A,C,K,J,D,B,G
6406532474069.
C,K,J,D,B,G,F,I,L,E,H,A
6406532474070.
F,I,L,E,H,A,C,K,J,D,B,G,F
6406532474071.
C,K,J,D,B,G,F,I,L,E,H,A,C

A published solution is not available for this question yet.

Report a correction for Q33

Question 34 MSQ · 1.0 marks

**Genetic Algorithm** A tour of 12 cities is shown below. The edges are bi-directional. Use A,B,...,L as the reference (index) sequence to prepare tour representations.
Source diagram or notation
Based on the above data, answer the given subquestions.
Select the valid adjacency representations of the tour.
6406532474072.
C,G,K,B,H,I,F,A,L,D,J,E
6406532474073.
H,D,A,J,L,G,B,E,F,K,C,I
6406532474074.
C,G,K,B,J,I,H,A,L,D,F,E
6406532474075.
H,D,A,J,L,K,B,G,F,E,C,I

A published solution is not available for this question yet.

Report a correction for Q34

Question 35 MCQ · 2.0 marks

**Genetic Algorithm** A tour of 12 cities is shown below. The edges are bi-directional. Use A,B,...,L as the reference (index) sequence to prepare tour representations.
Source diagram or notation
Based on the above data, answer the given subquestions.
Convert the path representation E,A,D,C,J,L,K,F,G,I,H,B to ordinal representation.
6406532474076.
5,1,3,2,6,7,6,2,2,3,2,1
6406532474077.
6,8,10,5,6,1,2,5,4,2,1,1
6406532474078.
5,1,3,2,3,4,3,1,2,3,2,1
6406532474079.
5,1,3,2,3,4,3,4,2,1,1,1

A published solution is not available for this question yet.

Report a correction for Q35

Question 36 SHORT_TEXT · 2.0 marks

**Genetic Algorithm** A tour of 12 cities is shown below. The edges are bi-directional. Use A,B,...,L as the reference (index) sequence to prepare tour representations.
Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q36

Question 37 SHORT_TEXT · 1.0 marks

**TSP** The distance matrix for 6 cities and corresponding edge costs (in sorted order) are provided below. Use this information to construct TSP tours.
Source diagram or notation
Based on the above data, answer the given subquestions.
Start from city E and construct a tour using Nearest Neighbour Heuristic. Enter the path representation of the tour starting from city E. Enter a comma separated list of city names. NO SPACES, TABS, DOTS, BRACKETS, PARENTHESIS OR UNWANTED CHARACTERS. Answer format: E,X,Y,Z

A published solution is not available for this question yet.

Report a correction for Q37

Question 38 NAT · 1.0 marks

**TSP** The distance matrix for 6 cities and corresponding edge costs (in sorted order) are provided below. Use this information to construct TSP tours.
Source diagram or notation
Based on the above data, answer the given subquestions.
What is the cost of the tour generated by Nearest Neighbour Heuristic? Enter a number. NO SPACES, TABS, DOTS, BRACKETS, PARENTHESIS OR UNWANTED CHARACTERS. Answer format: 17

A published solution is not available for this question yet.

Report a correction for Q38

Question 39 SHORT_TEXT · 1.0 marks

**TSP** The distance matrix for 6 cities and corresponding edge costs (in sorted order) are provided below. Use this information to construct TSP tours.
Source diagram or notation
Based on the above data, answer the given subquestions.
Construct a tour using Greedy Heuristic. Enter the path representation of the tour starting from city E. Enter a comma separated list of city names. NO SPACES, TABS, DOTS, BRACKETS, PARENTHESIS OR UNWANTED CHARACTERS. Answer format: E,X,Y,Z

A published solution is not available for this question yet.

Report a correction for Q39

Question 40 NAT · 1.0 marks

**TSP** The distance matrix for 6 cities and corresponding edge costs (in sorted order) are provided below. Use this information to construct TSP tours.
Source diagram or notation
Based on the above data, answer the given subquestions.
What is the cost of the tour generated by Greedy Heuristic? Enter a number. NO SPACES, TABS, DOTS, BRACKETS, PARENTHESIS OR UNWANTED CHARACTERS. Answer format: 17

A published solution is not available for this question yet.

Report a correction for Q40

Question 41 SHORT_TEXT · 1.0 marks

**TSP** The distance matrix for 6 cities and corresponding edge costs (in sorted order) are provided below. Use this information to construct TSP tours.
Source diagram or notation
Based on the above data, answer the given subquestions.
Take E as the fulcrum node and compute the missing values in the savings list given below. Construct the savings tour. Enter the path representation of the tour starting from city E.
Source diagram or notation
Enter a comma separated list of city names. NO SPACES, TABS, DOTS, BRACKETS, PARENTHESIS OR UNWANTED CHARACTERS. Answer format: E,X,Y,Z

A published solution is not available for this question yet.

Report a correction for Q41