Professional Documents
Culture Documents
Unit 2 - Question Bank
Unit 2 - Question Bank
UNIT - 2
PART A
1 How much knowledge would be required by a perfect program for the problem
of playing chess? Assume the unlimited computing power is available.
Answer
The rules for determining legal moves and some simple control mechanism that
implements an appropriate search procedure. Additional knowledge about such
things as good strategy and tactics could of course help considerably to constrain
the search and speed up the execution of the program.
2 List the criteria to measure the performance of different search strategies.
Answer
o Completeness : Is the algorithm guaranteed to find a solution when there is
one?
o Optimality : Does the strategy find the optimal solution?
o Time complexity : How long does it take to find a solution?
o Space complexity : How much memory is needed to perform the search?
3 What is the significance of Admissible Heuristic?
Admissible heuristic is a scenario where heuristic value is less than or equal to
the actual value
4 Compare A* algorithm with Uniform Cost Search algorithm
1) Both A* algorithm and Uniform Cost search are greedy algoithms
2) Both are optimal algorithms
3) A* algorithm uses heuristic, for example Straight line distance between
Two places in map is a heuristic value for Shortest distance finding, whereas
Uniform cost search algorithm does not use heuristic value
4) Usage of heuristic value makes the A* algorithm to come to the answer
quickly.
5 What is local search in continuous spaces?
Local Search in Artificial Intelligence is an optimizing algorithm to find the
optimal solution more quickly. Local search algorithms are used when we care
only about a solution but not the path to a solution.
6 List the criteria to measure the performance of different search strategies.
Completeness. Completeness is a guarantee of finding a solution whenever one
exists.
Time Complexity. Time complexity is how long does it take to find a solution
and this is usually measured in terms of the number of nodes that the searching
technique expands.
Space Complexity.
Optimality.
7 What is simulated annealing?
Simulated annealing is a method for solving unconstrained and bound-
constrained optimization problems. The method models the physical process of
heating a material and then slowly lowering the temperature to decrease defects,
thus minimizing the system energy.
K. RAMAKRISHNAN COLLEGE OF ENGINEERING (AUTONOMOUS)
SAMAYAPURAM, TRICHY - 621 112.
Part B
1 Identify the possible solution for nondeterministic Vacuum cleaner problem and
Construct AND - OR search tree, TRY, TRY again tree for it.
2 Solve the following problem using
i) Best First search
ii) Greedy Best First Search
3 Calculate the shortest path from Arad to Bucharest using Memory bound
Heuristic search.
4 Construct the state space diagram for the given 8 – puzzle problem and also
calculate the admissible heuristic value for it.
K. RAMAKRISHNAN COLLEGE OF ENGINEERING (AUTONOMOUS)
SAMAYAPURAM, TRICHY - 621 112.
5 Apply Uniform Cost Search algorithm in the above graph and find the Shortest
distance from Node A to H and path.
Show steps while solving the problems.
7 In the below graph, if an Agent’s initial State is A and Goal state is Z, then find
the path an agent finds, if it applies the following. Show steps clearly with
diagram. The edge cost is given near the edges and heuristic cost is given near
the nodes. Apply A* algorithm to find the path from A to Z