Professional Documents
Culture Documents
ARI711s Test 1
ARI711s Test 1
INSTRUCTIONS TO STUDENTS:
1. Read all the questions, passages, scenarios, etc., carefully before answering.
4. ALL QUESTIONS should be answered on the provided answer sheet. Write your name, student
number, group number and mode of study on each answer sheet.
6. Making use of any crib notes may lead to disqualification and disciplinary action.
9. This paper consists of seven (5) pages including the cover page.
Section A (28 Marks)
1. Discuss the trade-offs between using a simple reflex agent and a model-based agent in an
intelligent vacuum cleaner. Consider factors like efficiency, adaptability, and robustness in
your answer. (4 marks)
2. In your own words, explain what a search problem entails. What are the key components
involved? (6 marks)
3. Considering the properties of search algorithms, which property would be most relevant to
add to the following description:
Property Description
A guarantee that the algorithm will find the solution with the
lowest cost among all possible solutions.
(4 marks)
4. How does using additional knowledge make informed search algorithms more efficient than
uninformed search algorithms? (2 marks)
1
Section B (42 Marks)
7. Graph Search
Construct the search tree for the graph above, indicating the path length to each node. The
numbers shown above are link lengths. Pay careful attention to the arrows; some are bi-
directional (shown thick) while some are unidirectional.
(8 marks)
8. Consider the tree shown below. The numbers on the arcs are the arc lengths; the numbers
near states B, C, and D are the heuristic estimates; all other states have a heuristic estimate
of 0.
Assume that the children of a node are expanded in alphabetical order when no other order
is specified by the search, and that the goal is state J. No visited or expanded lists are used.
What order would the states be expanded by each type of search. Write only the sequence
of states expanded by each search.
2
Search Type List of States
Breadth First
Depth First
(8 marks).
Consider the graph shown below where the numbers on the links are link costs and the
numbers next to the states are heuristic estimates. Note that the arcs are undirected. Let A
be the start state and G be the goal state.
Simulate A* search with a strict expanded list on this graph. At each step, show the path to
the state of the node that’s being expanded, the length of that path, the total estimated cost
of the path (actual + heuristic), and the current value of the expanded list (as a list of states).
You are welcome to use scratch paper or the back of the exam pages to simulate the search.
However, please transcribe (only) the information requested into the table given below.
Expanded List - is a collection of nodes in a graph that have been fully explored during the
search process.
A 0 5 (A)
3
(10 marks)
Show the sequence of variable assignments during backtracking with forward checking,
assume that the variables are examined in numerical order and the values are assigned in
the order shown next to each node. Show assignments by writing the variable number and
the value, e.g. 1R.
(8 marks)