Noc20 Cs81 Assignment 01 Week 05
Noc20 Cs81 Assignment 01 Week 05
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
reviewer6@nptel.iitm.ac.in
NPTEL (https://swayam.gov.in/explorer?ncCode=NPTEL) » Artificial Intelligence Search Methods For Problem Solving (course)
Announcements (announcements) About the Course (preview) Ask a Question (forum) Progress (student/home) Mentor (student/mentor)
Unit 8 - Week 5
Course outline
1) For all infinite graphs with finite branching factor and arbitrary positive non-zero edge costs, which of the following algorithms will always find a 1 point
Week 1 path to the goal if one exists?
Week 2 A*
Best First Search
Week 3 Branch and Bound Search
Breadth First Search
Week 4
Depth First Search
Week 5 Dijkstra’s Algorithm that is able to access the graph on a need-basis
None of the above
Finding Optimal Paths (unit?
unit=29&lesson=153) No, the answer is incorrect.
Score: 0
Branch & Bound (unit? Accepted Answers:
unit=29&lesson=147) Breadth First Search
Algorithm A* (unit? 2) For all infinite graphs with finite branching factor and with edge costs greater than a small positive non-zero constant ε , which of the following 1 point
unit=29&lesson=148) algorithms will always find a path to the goal if one exists?
A*: An illustrated example
A*
(unit?unit=29&lesson=149)
Best First Search
Is A* Admissible? (unit?
unit=29&lesson=150)
Branch and Bound Search
Breadth First Search
Admissibility of A* (unit?
unit=29&lesson=151) Depth First Search
Dijkstra’s Algorithm that is able to access the graph on a need-basis
Higher, Faster ... (unit?
unit=29&lesson=152) None of the above
DOWNLOAD VIDEOS
https://onlinecourses.nptel.ac.in/noc20_cs81/unit?unit=29&assessment=196 1/6
1/23/2021 Artificial Intelligence Search Methods For Problem Solving - - Unit 8 - Week 5
4) The figure shows an infinite graph with finite branching factor and arbitrary positive non-zero edge costs. For this graph, which of the following 1 point
algorithms will find an optimal path from S to G?
A*
Best First Search
Branch and Bound Search
Breadth First Search
Depth First Search
Dijkstra’s Algorithm that is able to access the graph on a need-basis
None of the above. Because of the MoveGen these algorithms will refine S, A1, A2, A3, A4, A5 and so on and will never return from the infinite branch.
No, the answer is incorrect.
Score: 0
Accepted Answers:
A*
Best First Search
Branch and Bound Search
Breadth First Search
Dijkstra’s Algorithm that is able to access the graph on a need-basis
5) Consider the following values that can be associated with a node N. Let S be the start node and G be the goal. 1 point
Given that each search algorithm refines the candidate with the lowest value associated with each candidate, identify the value used by each of the
following algorithms.
END GROUP
BEGIN GROUP
https://onlinecourses.nptel.ac.in/noc20_cs81/unit?unit=29&assessment=196 2/6
1/23/2021 Artificial Intelligence Search Methods For Problem Solving - - Unit 8 - Week 5
The figure shows a map with several locations on a grid where each tile is 10km x 10 km in size. In this map, S is the start node and G is the goal node,
the locations are connected by two-way edges (roads). Each edge has a cost and the cost is the same in both directions.
When several nodes have the same cost, use alphabetical order to break ties.
When the same node occurs multiple times with the same cost then use the open-sequence-number to break ties, i.e., refine the node occurrence that is
oldest (was placed earliest in time) in the OPEN list.
BnB-1: is the simple Branch And Bound algorithm covered in the lecture, which allows cyclic refinements/paths like SASA...SA in the search-tree.
BnB-2: is a variation on BnB-1, that prevents cyclic expansions, i.e., it does not refine a node that already occurs in the path (and partial path) from the root
to the current node. Therefore, it keeps each path in the search tree (and each partial path) free of duplicate nodes
6) The search tree after 15 node-refinements by BnB-1 is shown below. Run BnB-1 and populate this search tree with node labels, node costs, the order in
which nodes were added to OPEN list, the order in which nodes are refined, etc.
Let S be the first node to be refined. Now determine the 5 nodes from the 6th node to the 10th node that are refined by BnB-1. List the node labels as a comma
separated list and enter the nodes in the order it was refined. DO NOT enter extraneous characters like spaces, dots, brackets, extra commas, etc.
1 point
7) For the 5 nodes listed in the previous question, list the costs of those nodes as a comma separated list of 5 natural numbers. Use the same node order
used in the previous question. DO NOT enter extraneous characters like spaces, dots, brackets, extra commas, etc.
1 point
8) In the search tree shown for BnB-1, the number of times node S appears (including refined and unrefined cases) is _______.
https://onlinecourses.nptel.ac.in/noc20_cs81/unit?unit=29&assessment=196 3/6
1/23/2021 Artificial Intelligence Search Methods For Problem Solving - - Unit 8 - Week 5
Accepted Answers:
(Type: Numeric) 7
1 point
9) In the search tree shown for BnB-1, the number of unrefined nodes is _______.
1 point
10) The search tree after 15 node-refinements by BnB-2 is shown below. Run BnB-2 and populate this search tree with node labels, node costs, the order in
which nodes were added to OPEN list, the order in which nodes are refined, etc.
Let S be the first node to be refined. Now determine the 5 nodes from the 6th node to the 10th node that are refined by BnB-2. List the node labels as a comma
separated list and enter the nodes in the order it was refined. DO NOT enter extraneous characters like spaces, dots, brackets, extra commas, etc.
1 point
11) For the 5 nodes listed in the previous question, list the costs of those nodes as a comma separated list of 5 natural numbers. Use the same node order
used in the previous question. DO NOT enter extraneous characters like spaces, dots, brackets, extra commas, etc.
1 point
12) In the search tree shown for BnB-2, the number of times node S appears (including refined and unrefined cases) is _______.
1 point
13) In the search tree shown for BnB-2, the number of unrefined nodes is _______
1 point
14) In the map, let S be the first node to be refined. Now determine the 5 nodes from the 6th node to the 10th node that are refined by A*. List the node labels
as a comma separated list and enter the nodes in the order it was refined. DO NOT enter extraneous characters like spaces, dots, brackets, extra commas, etc
https://onlinecourses.nptel.ac.in/noc20_cs81/unit?unit=29&assessment=196 4/6
1/23/2021 Artificial Intelligence Search Methods For Problem Solving - - Unit 8 - Week 5
1 point
15) For the 5 nodes listed in the previous question, list the costs of those nodes as a comma separated list of 5 natural numbers. Use the same node order
used in the previous question. DO NOT enter extraneous characters like spaces, dots, brackets, extra commas, etc.
1 point
16) For the map, what is the path found by A* algorithm. List the path (starting from S and ending in G) as a comma separated list of node labels. DO NOT
enter extraneous characters like spaces, dots, brackets, extra commas, etc.
1 point
Enter the cost as a natural number. DO NOT enter dots or other extraneous characters.
1 point
18) For the map, starting from S, run Best First Search to its completion. What is the path found by Best First Search algorithm? List the path (starting from S
and ending in G) as a comma separated list of node labels. DO NOT enter extraneous characters like spaces, dots, brackets, extra commas, etc
1 point
19) What is the cost of the path found by Best First Search algorithm?
Enter the cost as a natural number. DO NOT enter dots or other extraneous characters.
1 point
20) In the map, if an agent using A* algorithm were to traverse from S to G, and then for its return journey from G to S, if it recomputes the path by 1 point
treating G as the start node and S as the goal node, then the agent will ...
END GROUP
https://onlinecourses.nptel.ac.in/noc20_cs81/unit?unit=29&assessment=196 5/6
1/23/2021 Artificial Intelligence Search Methods For Problem Solving - - Unit 8 - Week 5
https://onlinecourses.nptel.ac.in/noc20_cs81/unit?unit=29&assessment=196 6/6