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.
**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.
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.
**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.
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.
**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.
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.
**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.
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.
**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.
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.
**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.
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.
**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.
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.
**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.
**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.
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.
**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.
**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.
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.
**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.
**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.
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.
**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.
**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.
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.
**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.
**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.
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.
**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.
**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.
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.
**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.
**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.
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.
**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.
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.
**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.
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.
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.
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.
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.
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.
**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.
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.
**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.
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.
**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.
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.
**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.
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.
**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.
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.