MauryaHub PYQ Practice

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

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

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

Question 19 MCQ · 6.0 marks

Identify the total number of test requirements in prime path coverage.
6406532311508.
9
6406532311509.
10
6406532311510.
11
6406532311511.
12       **AI** **Section Id :** 64065348595 **Section Number :** 2 **Section type :** Online **Mandatory or Optional :** Mandatory **Number of Questions :** 7 **Number of Questions to be attempted :** 7 **Section Marks :** 25 **Display Number Panel :** Yes **Group All Questions :** No **Enable Mark as Answered Mark for Review and** Yes **Clear Response :** **Maximum Instruction Time :** 0

A published solution is not available for this question yet.

Report a correction for Q19

Question 21 MCQ · 0.0 marks

Printed graph sheets (hard copy) will be provided for registered candidates only.
Source diagram or notation
6406532311526.
Printed graph sheets were provided to me.
6406532311527.
Printed graph sheets were not provided to me.
6406532311528.
I did not use graph sheets.

A published solution is not available for this question yet.

Report a correction for Q21

Question 22 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 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 Q22

Question 23 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 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 Q23

Question 24 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 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 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 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 subquestions.
A* may revise the f-values of nodes when it visits them again. List all the f-values assigned to node ‘E’, 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 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 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 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 Q26

Question 27 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 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 Q27

Question 28 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 subquestions.
Is the heuristic admissible in the given map?
6406532311535.
Yes
6406532311536.
No
6406532311537.
Cannot be determined

A published solution is not available for this question yet.

Report a correction for Q28

Question 29 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:** When actions are chosen non-deterministically, choose actions that lead to a plan. Throw away the actions that lead to deadends and cycles. **Tie-breaker:** Treat the 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 to a stack, the last element in the list will be at the top of the stack. It has the effect of reversing the list. 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 Q29

Question 30 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:** When actions are chosen non-deterministically, choose actions that lead to a plan. Throw away the actions that lead to deadends and cycles. **Tie-breaker:** Treat the 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 to a stack, the last element in the list will be at the top of the stack. It has the effect of reversing the list. 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?
6406532311550.
Pickup(D)
6406532311551.
Pickup(G)
6406532311552.
Pickup(M)
6406532311553.
Unstack(C,M)
6406532311554.
Unstack(E,D)

A published solution is not available for this question yet.

Report a correction for Q30

Question 31 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:** When actions are chosen non-deterministically, choose actions that lead to a plan. Throw away the actions that lead to deadends and cycles. **Tie-breaker:** Treat the 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 to a stack, the last element in the list will be at the top of the stack. It has the effect of reversing the list. 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?
6406532311555.
Pickup(G)
6406532311556.
Stack(E,M)
6406532311557.
Stack(G,E)
6406532311558.
Unstack(C,M)
6406532311559.
Unstack(E,D)

A published solution is not available for this question yet.

Report a correction for Q31

Question 32 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:** When actions are chosen non-deterministically, choose actions that lead to a plan. Throw away the actions that lead to deadends and cycles. **Tie-breaker:** Treat the 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 to a stack, the last element in the list will be at the top of the stack. It has the effect of reversing the list. 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.
6406532311560.
{ on(E,M), on(G,M) }; on(E,M); on(G,M); END
6406532311561.
{ on(E,M), on(G,M) }; on(G,M); on(E,M); END
6406532311562.
on(G,M); on(E,M); { on(E,M), on(G,M) }; END
6406532311563.
on(E,M); on(G,M); { on(E,M), on(G,M) }; END

A published solution is not available for this question yet.

Report a correction for Q32

Question 33 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:** When actions are chosen non-deterministically, choose actions that lead to a plan. Throw away the actions that lead to deadends and cycles. **Tie-breaker:** Treat the 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 to a stack, the last element in the list will be at the top of the stack. It has the effect of reversing the list. 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?
6406532311564.
Pickup(G)
6406532311565.
Stack(G,E)
6406532311566.
Unstack(E,D)
6406532311567.
Unstack(C,M)

A published solution is not available for this question yet.

Report a correction for Q33

Question 34 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:** When actions are chosen non-deterministically, choose actions that lead to a plan. Throw away the actions that lead to deadends and cycles. **Tie-breaker:** Treat the 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 to a stack, the last element in the list will be at the top of the stack. It has the effect of reversing the list. 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?
6406532311568.
Yes
6406532311569.
No
6406532311570.
Cannot be determined

A published solution is not available for this question yet.

Report a correction for Q34

Question 35 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:** When actions are chosen non-deterministically, choose actions that lead to a plan. Throw away the actions that lead to deadends and cycles. **Tie-breaker:** Treat the 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 to a stack, the last element in the list will be at the top of the stack. It has the effect of reversing the list. 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?
6406532311571.
Yes
6406532311572.
No
6406532311573.
Cannot be determined

A published solution is not available for this question yet.

Report a correction for Q35

Question 36 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 Q36

Question 37 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 Q37

Question 38 SHORT_TEXT · 1.0 marks

**GAMES – AlphaBeta, SSS***
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 Q38

Question 39 SHORT_TEXT · 1.0 marks

**GAMES – AlphaBeta, SSS***
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 Q39

Question 40 SHORT_TEXT · 1.0 marks

**GAMES – AlphaBeta, SSS***
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 Q40

Question 41 SHORT_TEXT · 1.0 marks

**GAMES – AlphaBeta, SSS***
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 Q41

Question 42 NAT · 1.0 marks

**TSP** The distance matrix and sorted segment 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
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 Q42

Question 43 SHORT_TEXT · 1.0 marks

**TSP** The distance matrix and sorted segment 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
Based on the above data, answer the given subquestions.
What is the first segment 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 Q43

Question 44 NAT · 1.0 marks

**TSP** The distance matrix and sorted segment 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
Based on the above data, answer the given subquestions.
What is the cost of the node ~E1 that excludes segment 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 Q44

Question 45 SHORT_TEXT · 1.0 marks

**TSP** The distance matrix and sorted segment 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
Based on the above data, answer the given subquestions.
What is the second segment E2 (UV) that is used for refinement? What is the cost of the node E2. Enter the segment UV and the cost as a comma separated list. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. Answer format: UV,42

A published solution is not available for this question yet.

Report a correction for Q45

Question 46 NAT · 1.0 marks

**TSP** The distance matrix and sorted segment 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
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 Q46