

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Exam; Class: Introduction to Artificial Intelligence; Subject: Computer Science; University: University of California - Berkeley; Term: Spring 2004;
Typology: Exams
1 / 3
This page cannot be seen from the preview
Don't miss anything!


You have 50 minutes. The exam is open-book, open-notes. 100 points total. Panic not.
ALL QUESTIONS IN THIS EXAM ARE TRUE/FALSE, MULTIPLE-CHOICE, OR SHORT-ANSWER. Mark your answers ON THE EXAM ITSELF. Write your name, SID, and section number at the top of each page. For true/false questions, CIRCLE True OR False. For multiple-choice questions, CIRCLE ALL CORRECT CHOICES (in some cases, there may be more than one).
If you are not sure of your answer you may wish to provide a brief explanation.
For official use only
(a) (3) True/False: There exist task environments (PEAS) in which some pure reflex agents behave rationally.
(b) (3) True/False: There exist task environments (PEAS) in which all pure reflex agents behave irrationally.
(c) (3) True/False: The input to an agent program is the same as the input to the corresponding agent function.
(d) (3) True/False: Every agent function is implementable by some program/machine combination
(a) (5) What is the maximum branching factor b in this state space? (i) 8k (ii) 9k (iii) 8k^ (iv) 9k
(b) (6) Suppose hi is an admissible heuristic for the problem of moving knight i to goal gi by itself. Which of the following heuristics are admissible for the k-knight problem? (i) min{h 1 ,... , hk} (ii) max{h 1 ,... , hk} (iii)
∑k i = 1 hi
(c) (4) Which of these is the best heuristic? (i) min{h 1 ,... , hk} (ii) max{h 1 ,... , hk} (iii)
∑k i = 1 hi
(a) (5) Choose a CSP formulation. In your formulation, what are the variables?
(b) (5) What are the values of each variable?
(c) (5) What sets of variables are constrained, and how?
(d) (5) Now consider the problem of putting as many knights as possible on the board without any attacks. We will solve this using local search. Briefly describe in English a sensible successor function.
(e) (5) Briefly describe in English a sensible objective function.