MauryaHub PYQ Practice

AI: Search Methods for Problem Solving · End Term · Jan 2023 · AN

AI: Search Methods for Problem Solving · End Term · Jan 2023 AN

← 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 81 MCQ · 6.0 marks

Find the total number of prime paths in the given CFG?
6406531894773.
5
6406531894774.
6
6406531894775.
7
6406531894776.
8       **AI** **Section Id :** 64065338431 **Section Number :** 4 **Section type :** Online **Mandatory or Optional :** Mandatory **Number of Questions :** 9 **Number of Questions to be attempted :** 9 **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 Q81

Question 83 SHORT_TEXT · 1.0 marks

**SEARCH** A MoveGen for a state space where S is the start node and G is the goal node is shown in the table. The MoveGen function returns nodes in the order as shown in the table. Use DFS and BFS to find a path from S to G. Note: DFS and BFS inspect only new nodes.
Source diagram or notation
What is the path found by DFS? Enter the path as a comma separated list. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. **Answer format: S,X,Y,Z**

A published solution is not available for this question yet.

Report a correction for Q83

Question 84 NAT · 1.0 marks

**TSP BnB** TSP BnB algorithm is solving a TSP instance where the cities are A, B, C, .... and so on. The BnB search tree (at the point when the algorithm discovers the optimal tour) is provided below. Each node in the search tree displays an edge (either XY or ¬XY), a cost value, and a unique reference number (a1, b1, ..., c1, ..., d1, ..., e1, …, f1, f2). Use the reference numbers to break ties. When required, use reference numbers in short answers. What information can you glean from the search tree? Answer the sub-questions based on the information gleaned from the search tree.
Source diagram or notation
Determine the number of cities in the TSP instance. Enter the number of cities in the text box, or enter NIL if it is not possible to determine the number of cities. Enter an integer. 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 Q84

Question 85 SHORT_TEXT · 1.0 marks

**TSP BnB** TSP BnB algorithm is solving a TSP instance where the cities are A, B, C, .... and so on. The BnB search tree (at the point when the algorithm discovers the optimal tour) is provided below. Each node in the search tree displays an edge (either XY or ¬XY), a cost value, and a unique reference number (a1, b1, ..., c1, ..., d1, ..., e1, …, f1, f2). Use the reference numbers to break ties. When required, use reference numbers in short answers. What information can you glean from the search tree? Answer the sub-questions based on the information gleaned from the search tree.
Source diagram or notation
Let S0 (ref. no. a1) be the first node to be refined, identify the next 4 nodes (2nd to 5th node) that are refined by the TSP BnB algorithm. Enter the nodes (node reference numbers) in the order they are refined. Enter a comma separated list of node reference numbers. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. **Answer format: a9,b9,c9,d9**

A published solution is not available for this question yet.

Report a correction for Q85

Question 86 SHORT_TEXT · 1.0 marks

**TSP BnB** TSP BnB algorithm is solving a TSP instance where the cities are A, B, C, .... and so on. The BnB search tree (at the point when the algorithm discovers the optimal tour) is provided below. Each node in the search tree displays an edge (either XY or ¬XY), a cost value, and a unique reference number (a1, b1, ..., c1, ..., d1, ..., e1, …, f1, f2). Use the reference numbers to break ties. When required, use reference numbers in short answers. What information can you glean from the search tree? Answer the sub-questions based on the information gleaned from the search tree.
Source diagram or notation
Which node represents the optimal tour? Enter the node reference number in the text box, or enter NIL if it is not possible to determine the optimal tour. Enter a node reference number. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. **Answer format: a9**

A published solution is not available for this question yet.

Report a correction for Q86

Question 87 NAT · 1.0 marks

**TSP BnB** TSP BnB algorithm is solving a TSP instance where the cities are A, B, C, .... and so on. The BnB search tree (at the point when the algorithm discovers the optimal tour) is provided below. Each node in the search tree displays an edge (either XY or ¬XY), a cost value, and a unique reference number (a1, b1, ..., c1, ..., d1, ..., e1, …, f1, f2). Use the reference numbers to break ties. When required, use reference numbers in short answers. What information can you glean from the search tree? Answer the sub-questions based on the information gleaned from the search tree.
Source diagram or notation
What is the cost of the optimal tour? Enter the cost of the optimal tour in the text box, or enter NIL if it is not possible to determine the optimal tour. Enter an integer. NO SPACES, TABS, BRACKETS OR EXTRANEOUS CHARACTERS. **Answer format: 42**

A published solution is not available for this question yet.

Report a correction for Q87

Question 88 SHORT_TEXT · 1.0 marks

**TSP BnB** TSP BnB algorithm is solving a TSP instance where the cities are A, B, C, .... and so on. The BnB search tree (at the point when the algorithm discovers the optimal tour) is provided below. Each node in the search tree displays an edge (either XY or ¬XY), a cost value, and a unique reference number (a1, b1, ..., c1, ..., d1, ..., e1, …, f1, f2). Use the reference numbers to break ties. When required, use reference numbers in short answers. What information can you glean from the search tree? Answer the sub-questions based on the information gleaned from the search tree.
Source diagram or notation
Start from city A, what is the path representation of the optimal tour? Enter the path representation in the text box, or enter NIL if it is not possible to determine the optimal tour. Enter a comma separated list of cities (city labels). NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. **Answer format: A,B,C**

A published solution is not available for this question yet.

Report a correction for Q88

Question 89 SHORT_TEXT · 1.0 marks

**SEARCH FOR OPTIMAL SOLUTION** The figure shows a map on a uniform grid where each tile is 10x10 in size. The start node is S and the goal node is G and the cost of each edge is **5 units**. The MoveGen function returns nodes in alphabetical order. Use Manhattan Distance as the heuristic function. Where necessary, use node labels to break ties.
Source diagram or notation
Based on the above data, answer the given subquestions.
What is the path found by A*? Enter the path as a comma separated list of node labels. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. **Answer format: S,X,Y,Z**

A published solution is not available for this question yet.

Report a correction for Q89

Question 90 NAT · 1.0 marks

**SEARCH FOR OPTIMAL SOLUTION** The figure shows a map on a uniform grid where each tile is 10x10 in size. The start node is S and the goal node is G and the cost of each edge is **5 units**. The MoveGen function returns nodes in alphabetical order. Use Manhattan Distance as the heuristic function. Where necessary, use node labels to break ties.
Source diagram or notation
Based on the above data, answer the given subquestions.
What is the cost of the path found by A*? Enter an integer. 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 Q90

Question 91 MCQ · 1.0 marks

**SEARCH FOR OPTIMAL SOLUTION** The figure shows a map on a uniform grid where each tile is 10x10 in size. The start node is S and the goal node is G and the cost of each edge is **5 units**. The MoveGen function returns nodes in alphabetical order. Use Manhattan Distance as the heuristic function. Where necessary, use node labels to break ties.
Source diagram or notation
Based on the above data, answer the given subquestions.
Is the Manhattan Distance admissible for the given problem?
6406531894787.
Yes
6406531894788.
No
6406531894789.
Cannot be determined

A published solution is not available for this question yet.

Report a correction for Q91

Question 92 MCQ · 1.0 marks

**GAMES** The figure shows a 3-ply game tree with evaluation function values defined at horizon. The nodes in the horizon are labeled from A to L. Use these labels when asked to enter a horizon node or a list of horizon nodes. **Tie-breaker:** when several nodes qualify then select the left most node, if tie persists then select the deepest node among the left most nodes.
Source diagram or notation
Based on the above data, answer the given subquestions.
Which of the following is a strategy for MAX?
6406531894790.
A,B
6406531894791.
A,B,E,F,I,J
6406531894792.
I,K
6406531894793.
A,E,I,K

A published solution is not available for this question yet.

Report a correction for Q92

Question 93 SHORT_TEXT · 1.0 marks

**GAMES** The figure shows a 3-ply game tree with evaluation function values defined at horizon. The nodes in the horizon are labeled from A to L. Use these labels when asked to enter a horizon node or a list of horizon nodes. **Tie-breaker:** when several nodes qualify then select the left most node, if tie persists then select the deepest node among the left most nodes.
Source diagram or notation
Based on the above data, answer the given subquestions.
List the horizon nodes in the best strategy for MAX. Enter the nodes in the ascending order of node labels. Enter a comma separated list of node labels. 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 Q93

Question 94 SHORT_TEXT · 1.0 marks

**GAMES** The figure shows a 3-ply game tree with evaluation function values defined at horizon. The nodes in the horizon are labeled from A to L. Use these labels when asked to enter a horizon node or a list of horizon nodes. **Tie-breaker:** when several nodes qualify then select the left most node, if tie persists then select the deepest node among the left most nodes.
Source diagram or notation
Based on the above data, answer the given subquestions.
List all the horizon nodes pruned by Alpha-Beta. Enter a comma separated sorted list of node labels. 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 Q94

Question 95 SHORT_TEXT · 1.0 marks

**GAMES** The figure shows a 3-ply game tree with evaluation function values defined at horizon. The nodes in the horizon are labeled from A to L. Use these labels when asked to enter a horizon node or a list of horizon nodes. **Tie-breaker:** when several nodes qualify then select the left most node, if tie persists then select the deepest node among the left most nodes.
Source diagram or notation
Based on the above data, answer the given subquestions.
Force the MinMax value to 36 by changing the eval of only one horizon node. Select the horizon node that you want to change and select the largest possible value for that node. Enter the node label and the new value as a comma separated list. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. **Answer format: X,17**

A published solution is not available for this question yet.

Report a correction for Q95

Question 96 SHORT_TEXT · 1.0 marks

**PROBLEM DECOMPOSITION** The figure shows an AND-OR graph that depicts how a problem S can be decomposed into one or more simpler problems. Nodes are uniquely identified by labels (S, A, B, …). The number in each node is the heuristic estimate of the cost of solving that node. Nodes shown in double lines are primitive nodes and their values are actual costs. Observe that a primitive node is added to the graph by its parent when the parent is expanded, and the primitive node is labeled as SOLVED and it will not be expanded subsequently. The cost of each edge is 2 units. **Tie-breaker 1:** For nodes with the same cost, expand in the ascending order of node labels. **Tie-breaker 2:** For AND nodes, expand the unsolved branch with the highest cost.
Source diagram or notation
Use AO* algorithm to solve S, then answer the given subquestions.
List the first three nodes (including S) expanded by AO* algorithm. List the nodes in the order they are expanded. Observe that primitive nodes are not expanded. Enter a comma separated list of node labels. 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 Q96

Question 97 SHORT_TEXT · 1.0 marks

**PROBLEM DECOMPOSITION** The figure shows an AND-OR graph that depicts how a problem S can be decomposed into one or more simpler problems. Nodes are uniquely identified by labels (S, A, B, …). The number in each node is the heuristic estimate of the cost of solving that node. Nodes shown in double lines are primitive nodes and their values are actual costs. Observe that a primitive node is added to the graph by its parent when the parent is expanded, and the primitive node is labeled as SOLVED and it will not be expanded subsequently. The cost of each edge is 2 units. **Tie-breaker 1:** For nodes with the same cost, expand in the ascending order of node labels. **Tie-breaker 2:** For AND nodes, expand the unsolved branch with the highest cost.
Source diagram or notation
Use AO* algorithm to solve S, then answer the given subquestions.
Determine the value of the start node S after each node expansion. Ignore the initial value of S and list the first three values of S computed from the first three node expansions. Enter a comma separated list of numbers. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. **Answer format: 12,42,17**

A published solution is not available for this question yet.

Report a correction for Q97

Question 98 NAT · 1.0 marks

**PROBLEM DECOMPOSITION** The figure shows an AND-OR graph that depicts how a problem S can be decomposed into one or more simpler problems. Nodes are uniquely identified by labels (S, A, B, …). The number in each node is the heuristic estimate of the cost of solving that node. Nodes shown in double lines are primitive nodes and their values are actual costs. Observe that a primitive node is added to the graph by its parent when the parent is expanded, and the primitive node is labeled as SOLVED and it will not be expanded subsequently. The cost of each edge is 2 units. **Tie-breaker 1:** For nodes with the same cost, expand in the ascending order of node labels. **Tie-breaker 2:** For AND nodes, expand the unsolved branch with the highest cost.
Source diagram or notation
Use AO* algorithm to solve S, then answer the given subquestions.
What is the final value of the start node S? Enter a 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 Q98

Question 99 MSQ · 1.0 marks

**RULE BASED EXPERT SYSTEMS** A Rete Net for classification of machines is shown in the figure. The labels A1, A2, A3, ..., A10, A11, A12, A13, ..., and B1, B2, B3 uniquely identify nodes in the network. When required, use the above label ordering to **break ties** and to enter short answers.
Source diagram or notation
Run the Rete algorithm for the Working Memory shown below, the WMEs are in timestamp order. Assume that WMEs reside at appropriate Alpha nodes, and the Beta nodes point to WMEs residing in Alpha nodes.
Source diagram or notation
For each WME identify its location (node label) in the Rete Net, and prepare the conflict set for the first cycle, then answer the given subquestions.
Which of the following rule-data tuples are in the conflict-set?
6406531894800.
Luxury-Car,104,107
6406531894801.
Minivan,103,106
6406531894802.
Truck,101,102,105
6406531894803.
Minivan,103,106,108

A published solution is not available for this question yet.

Report a correction for Q99

Question 100 MCQ · 1.0 marks

**RULE BASED EXPERT SYSTEMS** A Rete Net for classification of machines is shown in the figure. The labels A1, A2, A3, ..., A10, A11, A12, A13, ..., and B1, B2, B3 uniquely identify nodes in the network. When required, use the above label ordering to **break ties** and to enter short answers.
Source diagram or notation
Run the Rete algorithm for the Working Memory shown below, the WMEs are in timestamp order. Assume that WMEs reside at appropriate Alpha nodes, and the Beta nodes point to WMEs residing in Alpha nodes.
Source diagram or notation
For each WME identify its location (node label) in the Rete Net, and prepare the conflict set for the first cycle, then answer the given subquestions.
If the Inference Engine uses **Specificity** as the conflict resolution strategy then identify the rule- data tuple that will be ready to fire.
6406531894804.
Luxury-Car,104,107
6406531894805.
Minivan,103,106
6406531894806.
Truck,101,102,105
6406531894807.
Minivan,103,106,108

A published solution is not available for this question yet.

Report a correction for Q100

Question 101 MCQ · 1.0 marks

**RULE BASED EXPERT SYSTEMS** A Rete Net for classification of machines is shown in the figure. The labels A1, A2, A3, ..., A10, A11, A12, A13, ..., and B1, B2, B3 uniquely identify nodes in the network. When required, use the above label ordering to **break ties** and to enter short answers.
Source diagram or notation
Run the Rete algorithm for the Working Memory shown below, the WMEs are in timestamp order. Assume that WMEs reside at appropriate Alpha nodes, and the Beta nodes point to WMEs residing in Alpha nodes.
Source diagram or notation
For each WME identify its location (node label) in the Rete Net, and prepare the conflict set for the first cycle, then answer the given subquestions.
If the Inference Engine uses **Recency** as the conflict resolution strategy then identify the rule-data tuples that will be ready to fire. If multiple rule-data tuples qualify then choose one.
6406531894808.
Luxury-Car,104,107
6406531894809.
Minivan,103,106
6406531894810.
Truck,101,102,105
6406531894811.
Minivan,103,106,108

A published solution is not available for this question yet.

Report a correction for Q101

Question 102 MSQ · 1.0 marks

**AUTOMATED PLANNING** The domain description of a Blocks World with a single one-armed robot is given below.
Source diagram or notation
Based on the above data, answer the given subquestions.
Which of the following are **applicable** actions in the start state?
6406531894812.
Putdown(D)
6406531894813.
Unstack(D,B)
6406531894814.
Unstack(C,A)
6406531894815.
Pickup(E)
6406531894816.
Pickup(A)
6406531894817.
Stack(B,A)
6406531894818.
Stack(A,C)

A published solution is not available for this question yet.

Report a correction for Q102

Question 103 MSQ · 1.0 marks

**AUTOMATED PLANNING** The domain description of a Blocks World with a single one-armed robot is given below.
Source diagram or notation
Based on the above data, answer the given subquestions.
Which of the following are **relevant** actions in the goal state?
6406531894819.
Putdown(D)
6406531894820.
Unstack(D,B)
6406531894821.
Unstack(C,A)
6406531894822.
Pickup(E)
6406531894823.
Pickup(A)
6406531894824.
Stack(B,A)
6406531894825.
Stack(A,C)

A published solution is not available for this question yet.

Report a correction for Q103

Question 104 MSQ · 1.0 marks

**AUTOMATED PLANNING** The domain description of a Blocks World with a single one-armed robot is given below.
Source diagram or notation
Based on the above data, answer the given subquestions.
In the planning graph, which of the following are mutex action pairs in Layer 1?
6406531894826.
Unstack(D,B), Pickup(E)
6406531894827.
Unstack(D,B), Unstack(C,A)
6406531894828.
Pickup(E), Stack(B,A)
6406531894829.
Pickup(E), Stack(A,C)

A published solution is not available for this question yet.

Report a correction for Q104

Question 105 MSQ · 1.0 marks

**AUTOMATED PLANNING** The domain description of a Blocks World with a single one-armed robot is given below.
Source diagram or notation
Based on the above data, answer the given subquestions.
In the planning graph, which of the following are mutex proposition pairs in Layer 1?
6406531894830.
clear(B), holding(C)
6406531894831.
clear(B), clear(A)
6406531894832.
clear(E), on(D,B)
6406531894833.
clear(E), holding(D)

A published solution is not available for this question yet.

Report a correction for Q105

Question 106 SHORT_TEXT · 1.0 marks

**CONSTRAINT SATISFACTION** The set of junctions (L, W, Y and T type junctions) that occur in a 2D line drawing of trihedral objects is provided below. The in-plane clockwise/counterclockwise rotations of these junctions are valid as well. These junctions provide constraints on the possible edge assignments (convex, concave, arrow) for the edges/lines in 2D line drawings of trihedral objects. The junctions carry unique labels: L1, L2, L3, L4, L5, L6, T1, T2, T3, T4, W1, W2, W3, Y1, Y2, Y3. When required, use the labels in short answers.
Source diagram or notation
Apply a suitable algorithm to assign labels to edges/junctions in the 2D line drawings given in the sub-questions, process the edges and junctions in any order you see fit. **Note:** A 2D line drawing of trihedral objects is valid if and only if all the edges and junctions in the drawing are assigned consistent labels, otherwise the drawing is inconsistent and all labels are reset to NIL. Based on the above data, answer the given subquestions.
For the 2D line drawing, assign consistent labels to all edges and junctions. Enter the labels of the junctions 1, 2, 3, 4 in the text box, in that order. Or enter NIL if the drawing has no consistent label assignment.
Source diagram or notation
Enter a comma separated list of junction labels, or enter NIL. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. **Answer format: X9,Y9,Z9,W9**

A published solution is not available for this question yet.

Report a correction for Q106

Question 107 SHORT_TEXT · 1.0 marks

**CONSTRAINT SATISFACTION** The set of junctions (L, W, Y and T type junctions) that occur in a 2D line drawing of trihedral objects is provided below. The in-plane clockwise/counterclockwise rotations of these junctions are valid as well. These junctions provide constraints on the possible edge assignments (convex, concave, arrow) for the edges/lines in 2D line drawings of trihedral objects. The junctions carry unique labels: L1, L2, L3, L4, L5, L6, T1, T2, T3, T4, W1, W2, W3, Y1, Y2, Y3. When required, use the labels in short answers.
Source diagram or notation
Apply a suitable algorithm to assign labels to edges/junctions in the 2D line drawings given in the sub-questions, process the edges and junctions in any order you see fit. **Note:** A 2D line drawing of trihedral objects is valid if and only if all the edges and junctions in the drawing are assigned consistent labels, otherwise the drawing is inconsistent and all labels are reset to NIL. Based on the above data, answer the given subquestions.
For the 2D line drawing, assign consistent labels to all edges and junctions. Enter the labels of the junctions 1, 2, 3 in the text box, in that order. Or enter NIL if the drawing has no consistent label assignment.
Source diagram or notation
Enter a comma separated list of junction labels, or enter NIL. NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS. **Answer format: X9,Y9,Z9**

A published solution is not available for this question yet.

Report a correction for Q107