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 49 MCQ · 4.0 marks
Identify the number of linearly independent paths in the code base.
6406533052213.
2
6406533052214.
3
6406533052215.
4
6406533052216.
5
**AI**
**Section Id :** 64065364221
**Section Number :** 3
**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
**Section Negative Marks :** 0
**Group All Questions :** No
**Enable Mark as Answered Mark for Review and**
No
**Clear Response :**
**Maximum Instruction Time :** 0
A published solution is not available for this question yet.
**SEARCH**
The figure shows a map on a uniform grid where each tile is 1x1 in size.
The start node is S and the goal node is G.
The MoveGen function returns nodes in alphabetical order.
Use Manhattan Distance as the heuristic function.
**Tie-breaker:** If several nodes have the same cost, use node labels to break the tie.
Based on the above data, answer the given subquestions.
What is the path found by the Best First Search algorithm? 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.
**SEARCH**
The figure shows a map on a uniform grid where each tile is 1x1 in size.
The start node is S and the goal node is G.
The MoveGen function returns nodes in alphabetical order.
Use Manhattan Distance as the heuristic function.
**Tie-breaker:** If several nodes have the same cost, use node labels to break the tie.
Based on the above data, answer the given subquestions.
What is the path found by A* search algorithm? 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.
**SEARCH**
The figure shows a map on a uniform grid where each tile is 1x1 in size.
The start node is S and the goal node is G.
The MoveGen function returns nodes in alphabetical order.
Use Manhattan Distance as the heuristic function.
**Tie-breaker:** If several nodes have the same cost, use node labels to break the tie.
Based on the above data, answer the given subquestions.
What is the path found by Branch-and-Bound search algorithm? Enter the path as a comma
separated list of node labels.
Use the Branch-and-Bound variation that avoids cyclic expansions like S,A,S,A,S,A,...
NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS.
**Answer format: S,X,Y,Z**
A published solution is not available for this question yet.
**SEARCH**
The figure shows a map on a uniform grid where each tile is 1x1 in size.
The start node is S and the goal node is G.
The MoveGen function returns nodes in alphabetical order.
Use Manhattan Distance as the heuristic function.
**Tie-breaker:** If several nodes have the same cost, use node labels to break the tie.
Based on the above data, answer the given subquestions.
For the given map, which algorithm finds the shortest path from S to G?
6406533052241.
Best First Search
6406533052242.
A* Search Algorithm
6406533052243.
Branch-and-Bound Search Algorithm
6406533052244.
None of these.
A published solution is not available for this question yet.
**SEARCH**
The figure shows a map on a uniform grid where each tile is 1x1 in size.
The start node is S and the goal node is G.
The MoveGen function returns nodes in alphabetical order.
Use Manhattan Distance as the heuristic function.
**Tie-breaker:** If several nodes have the same cost, use node labels to break the tie.
Based on the above data, answer the given subquestions.
What can you say about the heuristic function for the given graph?
6406533052245.
Admissible.
6406533052246.
Inadmissible.
6406533052247.
Partly admissible and partly inadmissible.
6406533052248.
Cannot be determined.
A published solution is not available for this question yet.
**TSP Branch-and-Bound**
The TSP Branch-and-Bound algorithm is solving a TSP instance where the cities are A, B, C, .... and
so on. The Branch-and-Bound search tree at the time when **the algorithm has discovered the**
**optimal tour** is shown below.
Each node in the search tree displays an edge (either XY or ~XY), a cost value, and a unique
reference number (a1, b1, b2, c1, c2, c3, c4, d1, d2, d3, d4, e1, e2). Use the reference numbers to
break ties. When required, enter the 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.
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 Branch-and-Bound 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.
**TSP Branch-and-Bound**
The TSP Branch-and-Bound algorithm is solving a TSP instance where the cities are A, B, C, .... and
so on. The Branch-and-Bound search tree at the time when **the algorithm has discovered the**
**optimal tour** is shown below.
Each node in the search tree displays an edge (either XY or ~XY), a cost value, and a unique
reference number (a1, b1, b2, c1, c2, c3, c4, d1, d2, d3, d4, e1, e2). Use the reference numbers to
break ties. When required, enter the 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.
Which node represents the optimal tour and what is the cost of the optimal tour? Enter the node
reference number and the tour cost in the text box, or enter NIL if it is not possible to determine
the optimal tour.
Enter a node reference number followed by tour cost, separated by comma.
NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS.
**Answer format: a9,42**
A published solution is not available for this question yet.
**TSP Branch-and-Bound**
The TSP Branch-and-Bound algorithm is solving a TSP instance where the cities are A, B, C, .... and
so on. The Branch-and-Bound search tree at the time when **the algorithm has discovered the**
**optimal tour** is shown below.
Each node in the search tree displays an edge (either XY or ~XY), a cost value, and a unique
reference number (a1, b1, b2, c1, c2, c3, c4, d1, d2, d3, d4, e1, e2). Use the reference numbers to
break ties. When required, enter the 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.
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.
**TSP Branch-and-Bound**
The TSP Branch-and-Bound algorithm is solving a TSP instance where the cities are A, B, C, .... and
so on. The Branch-and-Bound search tree at the time when **the algorithm has discovered the**
**optimal tour** is shown below.
Each node in the search tree displays an edge (either XY or ~XY), a cost value, and a unique
reference number (a1, b1, b2, c1, c2, c3, c4, d1, d2, d3, d4, e1, e2). Use the reference numbers to
break ties. When required, enter the 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.
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,X,Y**
A published solution is not available for this question yet.
**GAMES**
The figure shows a game tree with evaluation function values at the leaf nodes.
The leaf nodes are labeled from A to K.
Use these labels to enter a leaf node or a list of leaf nodes in short answers (textbox).
**Tie-breaker:** when several nodes carry the same best cost then select the deepest node, if tie
persists then select the leftmost of the deepest nodes.
Based on the above data, answer the given subquestions.
Which of the following is a strategy for the MAX player?
6406533052253.
A,B
6406533052254.
A,D,I
6406533052255.
D,G,H
6406533052256.
C,H,K
A published solution is not available for this question yet.
**GAMES**
The figure shows a game tree with evaluation function values at the leaf nodes.
The leaf nodes are labeled from A to K.
Use these labels to enter a leaf node or a list of leaf nodes in short answers (textbox).
**Tie-breaker:** when several nodes carry the same best cost then select the deepest node, if tie
persists then select the leftmost of the deepest nodes.
Based on the above data, answer the given subquestions.
List the leaf nodes in the best strategy for MAX. Enter the node labels in alphabetical order.
Enter a comma separated list of node labels in alphabetical order.
NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS.
**Answer format: X,Y,Z**
A published solution is not available for this question yet.
**GAMES**
The figure shows a game tree with evaluation function values at the leaf nodes.
The leaf nodes are labeled from A to K.
Use these labels to enter a leaf node or a list of leaf nodes in short answers (textbox).
**Tie-breaker:** when several nodes carry the same best cost then select the deepest node, if tie
persists then select the leftmost of the deepest nodes.
Based on the above data, answer the given subquestions.
List the leaf nodes pruned by Alpha-Beta.
Enter a comma separated list of node labels in alphabetical order.
NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS.
**Answer format: X,Y,Z**
A published solution is not available for this question yet.
**GAMES**
The figure shows a game tree with evaluation function values at the leaf nodes.
The leaf nodes are labeled from A to K.
Use these labels to enter a leaf node or a list of leaf nodes in short answers (textbox).
**Tie-breaker:** when several nodes carry the same best cost then select the deepest node, if tie
persists then select the leftmost of the deepest nodes.
Based on the above data, answer the given subquestions.
List the leaf nodes solved (assigned SOLVED status) by SSS*.
Enter a comma separated list of node labels in alphabetical order.
NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS.
**Answer format: X,Y,Z**
A published solution is not available for this question yet.
**PROBLEM DECOMPOSITION**
The figure shows an AND-OR graph that depicts how a problem S can be decomposed into one or
more smaller 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:** If several nodes have the same cost then break the tie using node labels.
**Tie-breaker 2:** For AND nodes, select the unsolved branch having the highest cost.
Use AO* algorithm to solve S, then answer the given sub-questions.
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.
**PROBLEM DECOMPOSITION**
The figure shows an AND-OR graph that depicts how a problem S can be decomposed into one or
more smaller 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:** If several nodes have the same cost then break the tie using node labels.
**Tie-breaker 2:** For AND nodes, select the unsolved branch having the highest cost.
Use AO* algorithm to solve S, then answer the given sub-questions.
Determine the value of the start node S after each node is expanded. What are the values of S
after the 1st, 2nd and 3rd nodes are expanded, respectively? Enter the 3 values in the textbox.
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.
**PROBLEM DECOMPOSITION**
The figure shows an AND-OR graph that depicts how a problem S can be decomposed into one or
more smaller 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:** If several nodes have the same cost then break the tie using node labels.
**Tie-breaker 2:** For AND nodes, select the unsolved branch having the highest cost.
Use AO* algorithm to solve S, then answer the given sub-questions.
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.
**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.
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.
For each WME identify its location (node label) in the Rete Net, and prepare the conflict set for the
first cycle, then answer the sub-questions.
Which of the following rule-data tuples are in the conflict-set?
6406533052263.
F1-Car,104,107,109
6406533052264.
Luxury-Car,103,106,108
6406533052265.
Truck,101,102,105
6406533052266.
Truck,101,103,106
A published solution is not available for this question yet.
**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.
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.
For each WME identify its location (node label) in the Rete Net, and prepare the conflict set for the
first cycle, then answer the sub-questions.
If the Inference Engine uses **Specificity** as the conflict resolution strategy then which of the
following rule-data tuples will qualify?
6406533052267.
F1-Car,104,107,109
6406533052268.
Luxury-Car,103,106,108
6406533052269.
Truck,101,102,105
6406533052270.
Truck,101,103,106
A published solution is not available for this question yet.
**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.
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.
For each WME identify its location (node label) in the Rete Net, and prepare the conflict set for the
first cycle, then answer the sub-questions.
If the Inference Engine uses **Recency** as the conflict resolution strategy then which of the
following rule-data tuples will qualify?.
6406533052271.
F1-Car,104,107,109
6406533052272.
Luxury-Car,103,106,108
6406533052273.
Truck,101,102,105
6406533052274.
Truck,101,103,106
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 given below. This is the
same domain used in the assignments.
Based on the above data, answer the given subquestions.
Which of the following are **applicable** actions in the start state?
6406533052275.
Putdown(D)
6406533052276.
Unstack(D,A)
6406533052277.
Unstack(E,B)
6406533052278.
Pickup(C)
6406533052279.
Pickup(A)
6406533052280.
Stack(A,B)
6406533052281.
Stack(B,C)
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 given below. This is the
same domain used in the assignments.
Based on the above data, answer the given subquestions.
Which of the following are **relevant** actions in the goal state?
6406533052282.
Putdown(D)
6406533052283.
Unstack(D,A)
6406533052284.
Unstack(E,B)
6406533052285.
Pickup(C)
6406533052286.
Pickup(A)
6406533052287.
Stack(A,B)
6406533052288.
Stack(B,C)
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 given below. This is the
same domain used in the assignments.
Based on the above data, answer the given subquestions.
In the planning graph, which of the following are mutex action pairs in Layer 1?
6406533052289.
Unstack(D,A), Pickup(C)
6406533052290.
Unstack(D,A), Unstack(E,B)
6406533052291.
Pickup(C), Stack(A,B)
6406533052292.
Pickup(C), Stack(B,C)
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 given below. This is the
same domain used in the assignments.
Based on the above data, answer the given subquestions.
In the planning graph, which of the following are mutex proposition pairs in Layer 1?
6406533052293.
clear(A), holding(E)
6406533052294.
clear(A), clear(B)
6406533052295.
clear(C), on(D,A)
6406533052296.
clear(C), holding(E)
A published solution is not available for this question yet.
**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.
**Note:** A 2D line drawing of trihedral objects is considered to be consistent if all the edges and
junctions can be assigned labels that are consistent with each other, otherwise the drawing is
considered to be inconsistent and all labels are reset to NIL.
Apply a suitable algorithm to assign consistent labels to edges/junctions in the 2D line drawings in
the given sub-questions. Choose a suitable edge and junction order for solving the problems.
Assign consistent labels to all the edges and junctions in the 2D line drawing shown below. Enter
the labels of the junctions 1, 2, 3, 4 in the text box, in that order. Enter NIL if the drawing has no
consistent label assignment.
Enter a comma separated list of junction labels, or enter NIL.
NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS.
A published solution is not available for this question yet.
**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.
**Note:** A 2D line drawing of trihedral objects is considered to be consistent if all the edges and
junctions can be assigned labels that are consistent with each other, otherwise the drawing is
considered to be inconsistent and all labels are reset to NIL.
Apply a suitable algorithm to assign consistent labels to edges/junctions in the 2D line drawings in
the given sub-questions. Choose a suitable edge and junction order for solving the problems.
Assign consistent labels to all the edges and junctions in the 2D line drawing shown below.
Enter the labels of the junctions 1, 2, 3, 4 in the text box, in that order. Enter NIL if the drawing has
no consistent label assignment.
Enter a comma separated list of junction labels, or enter NIL.
NO SPACES, TABS, DOTS, BRACKETS OR EXTRANEOUS CHARACTERS.
A published solution is not available for this question yet.