MauryaHub PYQ Practice

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

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

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

Find the total number of prime paths in the given CFG?
6406531887614.
5
6406531887615.
6
6406531887616.
7
6406531887617.
8       **AI** **Section Id :** 64065338351 **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 Q80

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

Question 83 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, e2). 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 Q83

Question 84 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, e2). 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 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, e2). 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 Q85

Question 86 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, e2). 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 Q86

Question 87 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, e2). 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 Q87

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

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

Question 90 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 **15 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?
6406531887628.
Yes
6406531887629.
No
6406531887630.
Cannot be determined

A published solution is not available for this question yet.

Report a correction for Q90

Question 91 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?
6406531887631.
A,B
6406531887632.
A,B,E,F,I,J
6406531887633.
F,H
6406531887634.
A,E,I,K

A published solution is not available for this question yet.

Report a correction for Q91

Question 92 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 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 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 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.
Force the MinMax value to 98 by changing the eval of only one horizon node. Select the horizon node that you want to change and select the smallest 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 Q94

Question 95 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 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.
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 Q96

Question 97 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 Q97

Question 98 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?
6406531887641.
F1-Car,104,107,109
6406531887642.
Luxury-Car,103,106,108
6406531887643.
Truck,101,102,105
6406531887644.
Truck,101,103,106

A published solution is not available for this question yet.

Report a correction for Q98

Question 99 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.
6406531887645.
F1-Car,104,107,109
6406531887646.
Luxury-Car,103,106,108
6406531887647.
Truck,101,102,105
6406531887648.
Truck,101,103,106

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 **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.
6406531887649.
F1-Car,104,107,109
6406531887650.
Luxury-Car,103,106,108
6406531887651.
Truck,101,102,105
6406531887652.
Truck,101,103,106

A published solution is not available for this question yet.

Report a correction for Q100

Question 101 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?
6406531887653.Source diagram or notation
6406531887654.Source diagram or notation
6406531887655.Source diagram or notation
6406531887656.Source diagram or notation
6406531887657.Source diagram or notation
6406531887658.Source diagram or notation
6406531887659.Source diagram or notation

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 **relevant** actions in the goal state?
6406531887660.Source diagram or notation
6406531887661.Source diagram or notation
6406531887662.Source diagram or notation
6406531887663.Source diagram or notation
6406531887664.Source diagram or notation
6406531887665.Source diagram or notation
6406531887666.Source diagram or notation

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.
In the planning graph, which of the following are mutex action pairs in Layer 1?
6406531887667.Source diagram or notation
6406531887668.Source diagram or notation
6406531887669.Source diagram or notation
6406531887670.Source diagram or notation

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 proposition pairs in Layer 1?
6406531887671.Source diagram or notation
6406531887672.Source diagram or notation
6406531887673.Source diagram or notation
6406531887674.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q104

Question 105 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 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