MauryaHub PYQ Practice

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

AI: Search Methods for Problem Solving · Quiz 2 · 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 / 26 published solutions

Question 132 MCQ · 0.0 marks

Source diagram or notation
6406531487372.
YES
6406531487373.
NO

A published solution is not available for this question yet.

Report a correction for Q132

Question 133 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 two way edges (roads), where each edge has a cost that is the same in both directions. Observe that the edge costs are not necessarily proportional to the coordinate based distance estimates. The start node is S and the goal node is G, the MoveGen function returns neighbours in alphabetical order. Use Manhattan distance as the heuristic function. Tie-breaker: when several nodes have the same best cost, use alphabetical order to break ties.
Source diagram or notation
Emulate A*, WA* and Branch-and-Bound on the given map, then answer the given subquestions.
In the map, S is the first node to be refined, determine the next 4 nodes from the 2nd to 5th node refined by A*. Enter the nodes in the order they are refined. Enter a comma separated list of node labels. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. Answer format: W,X,Y,Z

A published solution is not available for this question yet.

Report a correction for Q133

Question 134 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 two way edges (roads), where each edge has a cost that is the same in both directions. Observe that the edge costs are not necessarily proportional to the coordinate based distance estimates. The start node is S and the goal node is G, the MoveGen function returns neighbours in alphabetical order. Use Manhattan distance as the heuristic function. Tie-breaker: when several nodes have the same best cost, use alphabetical order to break ties.
Source diagram or notation
Emulate A*, WA* and Branch-and-Bound on the given map, then answer the given subquestions.
For the 4 nodes listed in the **previous question**, list the f-values of those nodes as a comma separated list. Use the same node order used in the previous question. Enter a comma separated list of natural numbers. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. Answer format: 2,7,1,8

A published solution is not available for this question yet.

Report a correction for Q134

Question 135 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 two way edges (roads), where each edge has a cost that is the same in both directions. Observe that the edge costs are not necessarily proportional to the coordinate based distance estimates. The start node is S and the goal node is G, the MoveGen function returns neighbours in alphabetical order. Use Manhattan distance as the heuristic function. Tie-breaker: when several nodes have the same best cost, use alphabetical order to break ties.
Source diagram or notation
Emulate A*, WA* and Branch-and-Bound on the given map, then answer the given subquestions.
What is the path found by A*? Enter the path as a comma separated list. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. Answer format: S,X,Y,Z,G

A published solution is not available for this question yet.

Report a correction for Q135

Question 136 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 two way edges (roads), where each edge has a cost that is the same in both directions. Observe that the edge costs are not necessarily proportional to the coordinate based distance estimates. The start node is S and the goal node is G, the MoveGen function returns neighbours in alphabetical order. Use Manhattan distance as the heuristic function. Tie-breaker: when several nodes have the same best cost, use alphabetical order to break ties.
Source diagram or notation
Emulate A*, WA* and Branch-and-Bound on the given map, then answer the given subquestions.
A* may revise the f-values of nodes when it visits them again. List all the f-values assigned to node ‘A’, excluding +INFINITY (or +LARGE) assigned initially. Enter a comma separated list of f-values. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. Answer format: 3,1,4

A published solution is not available for this question yet.

Report a correction for Q136

Question 137 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 two way edges (roads), where each edge has a cost that is the same in both directions. Observe that the edge costs are not necessarily proportional to the coordinate based distance estimates. The start node is S and the goal node is G, the MoveGen function returns neighbours in alphabetical order. Use Manhattan distance as the heuristic function. Tie-breaker: when several nodes have the same best cost, use alphabetical order to break ties.
Source diagram or notation
Emulate A*, WA* and Branch-and-Bound on the given map, then answer the given subquestions.
For w=3, what is the path found by WA* algorithm? Enter the path as a comma separated list. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. Answer format: S,X,Y,Z,G

A published solution is not available for this question yet.

Report a correction for Q137

Question 138 NAT · 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 two way edges (roads), where each edge has a cost that is the same in both directions. Observe that the edge costs are not necessarily proportional to the coordinate based distance estimates. The start node is S and the goal node is G, the MoveGen function returns neighbours in alphabetical order. Use Manhattan distance as the heuristic function. Tie-breaker: when several nodes have the same best cost, use alphabetical order to break ties.
Source diagram or notation
Emulate A*, WA* and Branch-and-Bound on the given map, then answer the given subquestions.
What is the cost of the path found by Branch-and-Bound algorithm? Enter a natural number. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. Answer format: 17

A published solution is not available for this question yet.

Report a correction for Q138

Question 139 MCQ · 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 two way edges (roads), where each edge has a cost that is the same in both directions. Observe that the edge costs are not necessarily proportional to the coordinate based distance estimates. The start node is S and the goal node is G, the MoveGen function returns neighbours in alphabetical order. Use Manhattan distance as the heuristic function. Tie-breaker: when several nodes have the same best cost, use alphabetical order to break ties.
Source diagram or notation
Emulate A*, WA* and Branch-and-Bound on the given map, then answer the given subquestions.
Is the heuristic admissible in the given map?
6406531487380.
Yes
6406531487381.
No
6406531487382.
Cannot be determined

A published solution is not available for this question yet.

Report a correction for Q139

Question 140 NAT · 1.0 marks

**AUTOMATED PLANNING** The domain description of a blocks-world with a single one-armed robot is provided below. Note: this is the same domain description used in the weekly assignments.
Source diagram or notation
**Tie-breaker for subgoal ordering:** treat the start state, goal description, preconditions and effects as lists that are accessed from left to right. When the elements in a list are pushed one by one into a stack, the last element will be at the top of the stack. It has the effect of reversing the list. **Tie-breaker for block placement:** when there are multiple locations for placing a block, choose the location that satisfies a goal at hand, or else, choose a location that will lead to a better plan, or else, place it on the table. **Tie-breaker for action selection:** when actions are chosen non-deterministically, choose actions that lead to a plan, even a suboptimal plan is fine. Throwaway the actions that may lead to deadends and loops. A planning problem is given below, find a plan using the operators and predicates defined in the blocks-world domain
Source diagram or notation
Based on the above data, answer the given subquestions.
What is the length of the optimal plan? Enter the number of actions in the optimal plan. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. Answer format: 42

A published solution is not available for this question yet.

Report a correction for Q140

Question 141 MSQ · 1.0 marks

**AUTOMATED PLANNING** The domain description of a blocks-world with a single one-armed robot is provided below. Note: this is the same domain description used in the weekly assignments.
Source diagram or notation
**Tie-breaker for subgoal ordering:** treat the start state, goal description, preconditions and effects as lists that are accessed from left to right. When the elements in a list are pushed one by one into a stack, the last element will be at the top of the stack. It has the effect of reversing the list. **Tie-breaker for block placement:** when there are multiple locations for placing a block, choose the location that satisfies a goal at hand, or else, choose a location that will lead to a better plan, or else, place it on the table. **Tie-breaker for action selection:** when actions are chosen non-deterministically, choose actions that lead to a plan, even a suboptimal plan is fine. Throwaway the actions that may lead to deadends and loops. A planning problem is given below, find a plan using the operators and predicates defined in the blocks-world domain
Source diagram or notation
Based on the above data, answer the given subquestions.
Which of the following are **applicable** actions for the given planning problem?
6406531487395.
Pickup(A)
6406531487396.
Pickup(B)
6406531487397.
Pickup(C)
6406531487398.
Unstack(A,D)
6406531487399.
Unstack(C,G)

A published solution is not available for this question yet.

Report a correction for Q141

Question 142 MSQ · 1.0 marks

**AUTOMATED PLANNING** The domain description of a blocks-world with a single one-armed robot is provided below. Note: this is the same domain description used in the weekly assignments.
Source diagram or notation
**Tie-breaker for subgoal ordering:** treat the start state, goal description, preconditions and effects as lists that are accessed from left to right. When the elements in a list are pushed one by one into a stack, the last element will be at the top of the stack. It has the effect of reversing the list. **Tie-breaker for block placement:** when there are multiple locations for placing a block, choose the location that satisfies a goal at hand, or else, choose a location that will lead to a better plan, or else, place it on the table. **Tie-breaker for action selection:** when actions are chosen non-deterministically, choose actions that lead to a plan, even a suboptimal plan is fine. Throwaway the actions that may lead to deadends and loops. A planning problem is given below, find a plan using the operators and predicates defined in the blocks-world domain
Source diagram or notation
Based on the above data, answer the given subquestions.
Which of the following are **relevant** actions for the given planning problem?
6406531487400.
Pickup(B)
6406531487401.
Putdown(B)
6406531487402.
Stack(A,G)
6406531487403.
Stack(B,A)
6406531487404.
Unstack(A,D)
6406531487405.
Unstack(C,G)

A published solution is not available for this question yet.

Report a correction for Q142

Question 143 MCQ · 1.0 marks

**AUTOMATED PLANNING** The domain description of a blocks-world with a single one-armed robot is provided below. Note: this is the same domain description used in the weekly assignments.
Source diagram or notation
**Tie-breaker for subgoal ordering:** treat the start state, goal description, preconditions and effects as lists that are accessed from left to right. When the elements in a list are pushed one by one into a stack, the last element will be at the top of the stack. It has the effect of reversing the list. **Tie-breaker for block placement:** when there are multiple locations for placing a block, choose the location that satisfies a goal at hand, or else, choose a location that will lead to a better plan, or else, place it on the table. **Tie-breaker for action selection:** when actions are chosen non-deterministically, choose actions that lead to a plan, even a suboptimal plan is fine. Throwaway the actions that may lead to deadends and loops. A planning problem is given below, find a plan using the operators and predicates defined in the blocks-world domain
Source diagram or notation
Based on the above data, answer the given subquestions.
Which of the following can be pushed as the first three elements onto the stack by the Goal Stack Planning algorithm? In the representation below the stack has a bottom on the right marked by the entry END. Use appropriate tie-breakers listed in main question.
6406531487406.
{ on(A,G), on(B,A) }; on(A,G); on(B,A); END
6406531487407.
{ on(A,G), on(B,A) }; on(B,A); on(A,G); END
6406531487408.
on(B,A); on(A,G); { on(A,G), on(B,A) }; END
6406531487409.
on(A,G); on(B,A); { on(A,G), on(B,A) }; END

A published solution is not available for this question yet.

Report a correction for Q143

Question 144 MCQ · 1.0 marks

**AUTOMATED PLANNING** The domain description of a blocks-world with a single one-armed robot is provided below. Note: this is the same domain description used in the weekly assignments.
Source diagram or notation
**Tie-breaker for subgoal ordering:** treat the start state, goal description, preconditions and effects as lists that are accessed from left to right. When the elements in a list are pushed one by one into a stack, the last element will be at the top of the stack. It has the effect of reversing the list. **Tie-breaker for block placement:** when there are multiple locations for placing a block, choose the location that satisfies a goal at hand, or else, choose a location that will lead to a better plan, or else, place it on the table. **Tie-breaker for action selection:** when actions are chosen non-deterministically, choose actions that lead to a plan, even a suboptimal plan is fine. Throwaway the actions that may lead to deadends and loops. A planning problem is given below, find a plan using the operators and predicates defined in the blocks-world domain
Source diagram or notation
Based on the above data, answer the given subquestions.
For the subgoal ordering given in the goal description (and using the given tie breaking rules), which of the following is the first action popped out of the stack in Goal Stack Planning?
6406531487410.
Pickup(B)
6406531487411.
Stack(B,A)
6406531487412.
Unstack(A,D)
6406531487413.
Unstack(C,G)

A published solution is not available for this question yet.

Report a correction for Q144

Question 145 MCQ · 1.0 marks

**AUTOMATED PLANNING** The domain description of a blocks-world with a single one-armed robot is provided below. Note: this is the same domain description used in the weekly assignments.
Source diagram or notation
**Tie-breaker for subgoal ordering:** treat the start state, goal description, preconditions and effects as lists that are accessed from left to right. When the elements in a list are pushed one by one into a stack, the last element will be at the top of the stack. It has the effect of reversing the list. **Tie-breaker for block placement:** when there are multiple locations for placing a block, choose the location that satisfies a goal at hand, or else, choose a location that will lead to a better plan, or else, place it on the table. **Tie-breaker for action selection:** when actions are chosen non-deterministically, choose actions that lead to a plan, even a suboptimal plan is fine. Throwaway the actions that may lead to deadends and loops. A planning problem is given below, find a plan using the operators and predicates defined in the blocks-world domain
Source diagram or notation
Based on the above data, answer the given subquestions.
For the subgoal ordering given in the goal description (and using the given tie breaking rules), does the Goal Stack Planning algorithm find an optimal plan?
6406531487414.
Yes
6406531487415.
No
6406531487416.
Cannot be determined

A published solution is not available for this question yet.

Report a correction for Q145

Question 146 MCQ · 1.0 marks

**AUTOMATED PLANNING** The domain description of a blocks-world with a single one-armed robot is provided below. Note: this is the same domain description used in the weekly assignments.
Source diagram or notation
**Tie-breaker for subgoal ordering:** treat the start state, goal description, preconditions and effects as lists that are accessed from left to right. When the elements in a list are pushed one by one into a stack, the last element will be at the top of the stack. It has the effect of reversing the list. **Tie-breaker for block placement:** when there are multiple locations for placing a block, choose the location that satisfies a goal at hand, or else, choose a location that will lead to a better plan, or else, place it on the table. **Tie-breaker for action selection:** when actions are chosen non-deterministically, choose actions that lead to a plan, even a suboptimal plan is fine. Throwaway the actions that may lead to deadends and loops. A planning problem is given below, find a plan using the operators and predicates defined in the blocks-world domain
Source diagram or notation
Based on the above data, answer the given subquestions.
If the subgoals in the goal description are swapped places then does the Goal Stack Planning algorithm find an optimal plan?
6406531487417.
Yes
6406531487418.
No
6406531487419.
Cannot be determined

A published solution is not available for this question yet.

Report a correction for Q146

Question 147 NAT · 1.0 marks

**TSP** The distance matrix and edge costs for 5 cities (A to E) are provided below along with the BnB search tree. Use the Branch-and-Bound algorithm to compute the optimal tour.
Source diagram or notation
**Attention**: since we are solving problems by hand, infer as much as possible (and as early as possible) about the permanent edges in the partial solution. Based on the above data, answer the given subquestions.
What is the lower bound on the cost of the tour as per the TSP BnB algorithm discussed in class? Enter a natural number. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. Answer format: 17

A published solution is not available for this question yet.

Report a correction for Q147

Question 148 SHORT_TEXT · 1.0 marks

**TSP** The distance matrix and edge costs for 5 cities (A to E) are provided below along with the BnB search tree. Use the Branch-and-Bound algorithm to compute the optimal tour.
Source diagram or notation
**Attention**: since we are solving problems by hand, infer as much as possible (and as early as possible) about the permanent edges in the partial solution. Based on the above data, answer the given subquestions.
What is the first edge E1 (XY) used for refining S0? Enter edge label XY NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. Answer format: XY

A published solution is not available for this question yet.

Report a correction for Q148

Question 149 NAT · 1.0 marks

**TSP** The distance matrix and edge costs for 5 cities (A to E) are provided below along with the BnB search tree. Use the Branch-and-Bound algorithm to compute the optimal tour.
Source diagram or notation
**Attention**: since we are solving problems by hand, infer as much as possible (and as early as possible) about the permanent edges in the partial solution. Based on the above data, answer the given subquestions.
What is the cost of the node ~E1 that excludes edge XY? Enter a natural number. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. Answer format: 42

A published solution is not available for this question yet.

Report a correction for Q149

Question 150 SHORT_TEXT · 1.0 marks

**TSP** The distance matrix and edge costs for 5 cities (A to E) are provided below along with the BnB search tree. Use the Branch-and-Bound algorithm to compute the optimal tour.
Source diagram or notation
**Attention**: since we are solving problems by hand, infer as much as possible (and as early as possible) about the permanent edges in the partial solution. Based on the above data, answer the given subquestions.
What is the second edge E2 (XY) that is used for refinement? What is the cost of the node E2. Enter the edge XY and the cost as a comma separated list. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. Answer format: XY,42

A published solution is not available for this question yet.

Report a correction for Q150

Question 151 NAT · 1.0 marks

**TSP** The distance matrix and edge costs for 5 cities (A to E) are provided below along with the BnB search tree. Use the Branch-and-Bound algorithm to compute the optimal tour.
Source diagram or notation
**Attention**: since we are solving problems by hand, infer as much as possible (and as early as possible) about the permanent edges in the partial solution. Based on the above data, answer the given subquestions.
What is the cost of the optimal tour? NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. Answer format: 17

A published solution is not available for this question yet.

Report a correction for Q151

Question 152 SHORT_TEXT · 1.0 marks

**GAMES** The figure shows a game tree with evaluations W (win), L (loss) and D (draw) from Max's perspective. The nodes are labeled in a level-by-level (a,b,...,e) left-to-right (1,2,...) manner as indicated in the game tree.
Source diagram or notation
Based on the above data, answer the given subquestions.
What is the outcome (W, D or L) of the game when both players play perfectly? NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. Answer format: X

A published solution is not available for this question yet.

Report a correction for Q152

Question 153 SHORT_TEXT · 1.0 marks

**GAMES** The figure shows a game tree with evaluations W (win), L (loss) and D (draw) from Max's perspective. The nodes are labeled in a level-by-level (a,b,...,e) left-to-right (1,2,...) manner as indicated in the game tree.
Source diagram or notation
Based on the above data, answer the given subquestions.
You are allowed to change the eval of one leaf node, change the eval such that the game will end in a draw when both players play perfectly. Which node will you change and what is the new eval? Enter the label of the node you wish to change and the new eval as a comma separated list. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. Answer format: a1,X

A published solution is not available for this question yet.

Report a correction for Q153

Question 154 SHORT_TEXT · 1.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
List the horizon nodes in the best strategy. Enter the node labels as a comma separated list in ASCENDING order. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. Answer format: X,Y,Z

A published solution is not available for this question yet.

Report a correction for Q154

Question 155 SHORT_TEXT · 1.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
List the horizon nodes pruned by Alpha-Beta algorithm. Enter the node labels as a comma separated list in ASCENDING order. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. Answer format: X,Y,Z

A published solution is not available for this question yet.

Report a correction for Q155

Question 156 SHORT_TEXT · 1.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
List the horizon nodes in the initial cluster formed by SSS* algorithm. Enter the node labels as a comma separated list in ASCENDING order. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. Answer format: X,Y,Z

A published solution is not available for this question yet.

Report a correction for Q156

Question 157 SHORT_TEXT · 1.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
List the horizon nodes assigned SOLVED status by the SSS* algorithm. Enter the node labels as a comma separated list in ASCENDING order. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. Answer format: X,Y,Z

A published solution is not available for this question yet.

Report a correction for Q157