0% found this document useful (0 votes)
147 views

Noc20 Cs81 Assignment 01 Week 05

1) The document is a summary of an online artificial intelligence course covering search methods for problem solving. 2) It includes questions about which search algorithms are suitable for different types of problems, including infinite graphs and finding optimal paths. 3) The questions cover topics like admissibility, heuristics, and which values different search algorithms use to prioritize nodes.

Uploaded by

soniathalavoor
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
147 views

Noc20 Cs81 Assignment 01 Week 05

1) The document is a summary of an online artificial intelligence course covering search methods for problem solving. 2) It includes questions about which search algorithms are suitable for different types of problems, including infinite graphs and finding optimal paths. 3) The questions cover topics like admissibility, heuristics, and which values different search algorithms use to prioritize nodes.

Uploaded by

soniathalavoor
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

1/23/2021 Artificial Intelligence Search Methods For Problem Solving - - Unit 8 - Week 5

(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

How does an NPTEL online


Assignment 5
course work? The due date for submitting this assignment has passed. Due on 2020-10-21, 23:59 IST.
As per our records you have not submitted this assignment.
Pre-requisite Assignment

Week 0 BEGIN GROUP

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

Week 5 - Feedback : Artificial


No, the answer is incorrect.
Score: 0
Intelligence Search Methods
Accepted Answers:
for problem Solving (unit?
A*
unit=29&lesson=33)
Branch and Bound Search
Lecture Materials (unit? Breadth First Search
unit=29&lesson=176) Dijkstra’s Algorithm that is able to access the graph on a need-basis
Quiz : Assignment 5 3) For all graphs described in the previous question, which of the following algorithms will always find an optimal path if the start and goal nodes live 1 point
(assessment?name=196)
in the same connected component?
Week 6
A*
Best First Search
Week 7
Branch and Bound Search
Week 8 Breadth First Search
Depth First Search
Week 9 Dijkstra’s Algorithm that is able to access the graph on a need-basis
None of the above
Week 10
No, the answer is incorrect.
Score: 0
Week 11
Accepted Answers:
Branch and Bound Search
Week 12
Dijkstra’s Algorithm that is able to access the graph on a need-basis

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?

The MoveGen returns nodes in alphabetical order.


The heuristic function h(N) is defined as: h(An) = 1/(2^n) and h(other nodes) = 1.
Use alphabetical order to break ties

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

A:  number of hops from S to N


B:  1 – A
C:  actual path cost from S to N
D:  estimated path cost from S to N
E:  actual path cost from N to G
F:  estimated path cost from N to G
G:  actual cost from N to its nearest neighbour
H:  number of hops from N to G
I:  C + E
J:  C + F
K:  D + E
L:  D + F
M:  NONE (none of the above values are used)

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.

Depth First Search uses M


Depth First Search uses B
Breadth First Search uses A
Breadth First Search uses M
Best First Search uses D
Best First Search uses F
Branch and Bound uses C
Branch and Bound uses D
Algorithm A* uses J
Algorithm A* uses L
Dijkstra’s Algorithm uses J
Dijkstra’s Algorithm uses C
No, the answer is incorrect.
Score: 0
Accepted Answers:
Depth First Search uses B
Breadth First Search uses A
Best First Search uses F
Branch and Bound uses C
Algorithm A* uses J
Dijkstra’s Algorithm uses C

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.

For this map, MoveGen returns nodes in alphabetical order.

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.

Where needed, use Manhattan distance as the heuristic function.

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.

No, the answer is incorrect.


Score: 0
Accepted Answers:
(Type: String) S,P,S,S,S
(Type: String) S, P, S, S, S

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.

No, the answer is incorrect.


Score: 0
Accepted Answers:
(Type: String) 50,70,70,70,70
(Type: String) 50, 70, 70, 70, 70

1 point

8) In the search tree shown for BnB-1, the number of times node S appears (including refined and unrefined cases) is _______.

No, the answer is incorrect.


Score: 0
A t dA

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

No, the answer is incorrect.


Score: 0
Accepted Answers:
(Type: Numeric) 38

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.

No, the answer is incorrect.


Score: 0
Accepted Answers:
(Type: String) P,U1,U1,V1,W
(Type: String) P, U1, U1, V1, W

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.

No, the answer is incorrect.


Score: 0
Accepted Answers:
(Type: String) 70,70,70,80,85
(Type: String) 70, 70, 70, 80, 85

1 point

12) In the search tree shown for BnB-2, the number of times node S appears (including refined and unrefined cases) is _______.

No, the answer is incorrect.


Score: 0
Accepted Answers:
(Type: Numeric) 1

1 point

13) In the search tree shown for BnB-2, the number of unrefined nodes is _______

No, the answer is incorrect.


Score: 0
Accepted Answers:
(Type: Numeric) 18

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

No, the answer is incorrect.


Score: 0
Accepted Answers:
(Type: String) T,U,V1,M,U1
(Type: String) T, U, V1, M, U1

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.

No, the answer is incorrect.


Score: 0
Accepted Answers:
(Type: String) 245,245,250,270,270
(Type: String) 245, 245, 250, 270, 270

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.

No, the answer is incorrect.


Score: 0
Accepted Answers:
(Type: String) S,V,V1,Z1,Z,J,G
(Type: String) S, V, V1, Z1, Z, J, G

1 point

17) What is the cost of the path found by A* algorithm?

Enter the cost as a natural number. DO NOT enter dots or other extraneous characters.

No, the answer is incorrect.


Score: 0
Accepted Answers:
(Type: Numeric) 290

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

No, the answer is incorrect.


Score: 0
Accepted Answers:
(Type: String) S,O,Q,M,E,B,G
(Type: String) S, O, Q, M, E, B, G

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.

No, the answer is incorrect.


Score: 0
Accepted Answers:
(Type: Numeric) 490

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

take the same path back


take a different path back
get stuck on node I
behave in arbitrary manner
No, the answer is incorrect.
Score: 0
Accepted Answers:
take the same path back

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

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy