MauryaHub PYQ Practice

AI: Search Methods for Problem Solving · Quiz 1 · Sep 2022

AI: Search Methods for Problem Solving · Quiz 1 · Sep 2022

← 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 / 22 published solutions

Question 79 MCQ · 0.0 marks

Source diagram or notation
6406531292222.
YES
6406531292223.
NO

A published solution is not available for this question yet.

Report a correction for Q79

Question 80 MCQ · 1.0 marks

**STATE SPACE** In the 8-puzzle, use the combination of tile-number (1 to 8) and the direction (Up, Down,Left, Right) of tile movement to denote a move, for example: 6U — move tile 6 up 2D — move tile 2 down 4L — move tile 4 left 8R — move tile 8 right Based on the above data, answer the given subquestions.
Starting from board G, the sequence of moves 8D,7R,6U,5U will result in __________ .
Source diagram or notation
6406531292224.
Board G
6406531292225.
Board A
6406531292226.
Board B
6406531292227.
Board C
6406531292228.
Board D

A published solution is not available for this question yet.

Report a correction for Q80

Question 81 SHORT_TEXT · 1.0 marks

**STATE SPACE** In the 8-puzzle, use the combination of tile-number (1 to 8) and the direction (Up, Down,Left, Right) of tile movement to denote a move, for example: 6U — move tile 6 up 2D — move tile 2 down 4L — move tile 4 left 8R — move tile 8 right Based on the above data, answer the given subquestions.
Starting from board S, what is the shortest sequence of moves that will result in board G?
Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q81

Question 82 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 Q82

Question 83 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,Z,G**

A published solution is not available for this question yet.

Report a correction for Q83

Question 84 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 Q84

Question 85 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 Q85

Question 86 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 Q86

Question 87 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 Q87

Question 88 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 Q88

Question 89 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 Q89

Question 90 MSQ · 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.
Source diagram or notation
6406531292238.
State Space 1
6406531292239.
State Space 2
6406531292240.
State Space 3
6406531292241.
State Space 4

A published solution is not available for this question yet.

Report a correction for Q90

Question 91 MSQ · 1.0 marks

**GENETIC ALGORITHM** A tour of 12 cities is shown below. The edges are bi-directional. Use A,B,C,...,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.
6406531292242.
I,D,L,E,J,A,C,K,F,B,H,G
6406531292243.
A,J,E,L,D,I,G,H,B,F,K,C
6406531292244.
A,C,K,L,G,J,F,H,I,D,E,B
6406531292245.
A,C,K,H,J,F,G,I,D,L,E,B

A published solution is not available for this question yet.

Report a correction for Q91

Question 92 MSQ · 1.0 marks

**GENETIC ALGORITHM** A tour of 12 cities is shown below. The edges are bi-directional. Use A,B,C,...,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.
6406531292246.
C,H,K,L,J,B,I,G,D,A,F,E
6406531292247.
J,F,A,I,L,K,H,B,G,E,C,D
6406531292248.
I,D,L,E,J,A,C,K,F,B,H,G
6406531292249.
A,J,E,L,D,I,G,H,B,F,K,C

A published solution is not available for this question yet.

Report a correction for Q92

Question 93 MCQ · 2.0 marks

**GENETIC ALGORITHM** A tour of 12 cities is shown below. The edges are bi-directional. Use A,B,C,...,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 A,C,K,F,B,H,G,I,D,L,E,J to ordinal representation.
6406531292250.
1,2,9,4,1,4,3,3,1,3,1,1
6406531292251.
9,4,10,4,2,1,1,5,3,3,1,1
6406531292252.
1,2,9,4,1,3,3,4,1,3,1,1
6406531292253.
3,10,8,3,2,2,5,1,3,3,2,1

A published solution is not available for this question yet.

Report a correction for Q93

Question 94 MSQ · 2.0 marks

**GENETIC ALGORITHM** A tour of 12 cities is shown below. The edges are bi-directional. Use A,B,C,...,L as the reference (index) sequence to prepare tour representations.
Source diagram or notation
Based on the above data, answer the given subquestions.
Path representations of two tours are given below. Generate offspring using Cycle Crossover. **P1:** I,D,L,E,J,A,C,K,F,B,H,G **P2:** C,K,I,D,B,E,J,A,H,L,G,F Select the child tours.
6406531292254.
I,K,L,D,J,E,C,A,F,B,H,G
6406531292255.
C,D,I,E,B,A,J,K,H,L,G,F
6406531292256.
I,D,L,K,B,A,E,H,C,J,F,G
6406531292257.
A,L,I,E,J,D,C,K,H,F,G,B

A published solution is not available for this question yet.

Report a correction for Q94

Question 95 SHORT_TEXT · 1.0 marks

**TSP** The distance matrix for 7 cities and the 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.
Use E as the starting city, construct a tour using Nearest Neighbour Heuristic. The tour is __________ . Enter the path representation of the tour, starting from E and tracing the cities selected by the Nearest Neighbour Heuristic. 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 Q95

Question 96 NAT · 1.0 marks

**TSP** The distance matrix for 7 cities and the 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 Q96

Question 97 SHORT_TEXT · 1.0 marks

**TSP** The distance matrix for 7 cities and the 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 A. Enter a comma separated list of city names. NO SPACES, TABS, DOTS, BRACKETS, PARENTHESIS OR UNWANTED CHARACTERS. Answer format: A,X,Y,Z

A published solution is not available for this question yet.

Report a correction for Q97

Question 98 NAT · 1.0 marks

**TSP** The distance matrix for 7 cities and the 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 Q98

Question 99 SHORT_TEXT · 1.0 marks

**TSP** The distance matrix for 7 cities and the 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.
Savings heuristic: the initial set of 6 tours with A as the fulcrum node is shown in the figure. Identify the first two edges that will be removed and the first new edge that will be added, and compute the savings. Enter the first edge added and the savings in the text box.
Source diagram or notation
An edge from X to Y is named as XY. Enter an edge name XY and a number as a comma separated list. NO SPACES, TABS, DOTS, BRACKETS, PARENTHESIS OR UNWANTED CHARACTERS. Answer format: XY,17

A published solution is not available for this question yet.

Report a correction for Q99

Question 100 MCQ · 0.0 marks

Source diagram or notation
6406531292263.
YES
6406531292264.
NO

A published solution is not available for this question yet.

Report a correction for Q100