



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




This is the first Fall 2003 midterm exam for the CPE/CSC 480 class. You may use textbooks, course notes, or other material, but you must formulate the text for your answers yourself. The use of calculators or computers is allowed for viewing documents or for numerical calculations, but not for the execution of algorithms or programs to compute solutions for exam questions. The exam time is 1 hour minutes.
Mark the answer you think is correct. Unless otherwise noted, there is only one correct answer. Each question is worth 3 points. a) What is an omniscient agent?
b) In the context of search algorithms, which of the following issues addresses the question of finding a solution to the problem if one exists?
c) In the context of search algorithms, which of the following issues is determined by the number of steps it takes to find a solution?
d) What is optimality with respect to search algorithms?
e) On the basis of the general search method as described in the text book, which simple strategy results in uniform-cost - first search?
values first)
(lowest values first)
In this scenario, an agent is exploring a grid from the tile A designated as the starting point to the goal point, tile O. The shaded tiles are blocked. At each step, the agent can proceed from the current tile to one of the vertically or horizontally adjacent tiles; the agent can not move diagonally. If there are multiple successor tiles for a tile, the agent examines those tiles in alphabetical order. In the following parts, you need to apply different search algorithms to solve this traversal problem. For each of the algorithms, you need to do the following tasks:
a) Traverse the environment from the starting point A to the goal O according to the Depth-First Search method. [10 points] Step Current Tile Frontier 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
What are possible improvements for the above search methods for this type of environment (i.e. with a grid-based topology)? [5 points]