Intro to AI Show (Su 97)
Selmer Bringsjord
Note: It is possible that some of the following questions
will appear on the actual midterm; it is even possible that
many of the following questions will appear on the actual
exam. Therefore, it would
be prudent to try in earnest to answer the following questions.
Question 1. Russell and Norvig move from the situation calculus to the event calculus because the former has trouble representing
Question 2. Suppose that
and
a = b are in KB
. In standard first-order logic
Question 3. Consider the following Lisp function.
(defun predp (o)
(or (symbolp o)
(characterp o)
(numberp o)
(packagep o)))
This is a predicate function that tests for Lisp objects that Shapiro calls
Question 4. Without special treatment, mental objects create a problem for AI as described in the R&N text because standard first-order logic is
Question 5. Selmer's objection to N&R's approach to mental objects is that
Question 6. Let
be the substitution
{x/Tina, y/Charlie}. And suppose that
is in KB
. What rule of inference can be used to
establish
Question 7. Suppose that you type
to Lisp. Given that the function
(defun obnoxious-ais-inp (roster)
(cond ((null roster) nil)
((eql 'ralph (first roster)) t)
(t (obnoxious-ais-inp (rest roster)))))
has been defined, typing
will return
Question 8. Suppose that KB
includes the information
in the blocks world grid for Selmer's World 3 (shown on our web site).
(So the knowledge base in question contains all formulas that can be
observed from this grid.)
Suppose
that the following formula is added to this knowledge base.
Then KB
.
Question 9. Which of the following first-order formulas could represent ``Someone loves Alma's mother," where ``L(x,y)' stands for ``x loves y."
Question 10. Given that the function
(defun fn (x y) (if (= y 0) 9999999999 (/ x y)))
has been defined, typing (fn 6 3) will return what?
Question 11. Consider the following sentence in the propositional calculus. Is it valid?
Question 12. Given the following information, could an agent with the reasoning power of the propositional calculus prove that the unicorn is mythical? How about magical? Horned?
If the unicorn is mythical, then it is immortal, but if it is not mythical, then it is a mortal mammal. If the unicorn is either immortal or a mammal, then it is horned. The unicorn is magical if it is horned.
Question 13. Suppose that KB
for an agent trying
to thrive in
the wumpus world contains the following 10 facts:
Consider the following part of a proof, carried
out by an agent with KB
.
Which rule of inference is used here?
Question 14. A propoent of AI would probably not be all that impressed with Deep Blue's performance.
Question 15. What are the operators in R&N's approach to the 8-puzzle?
Question 16. That first-order logic is complete amounts to which of the following statements?
Question 17. What is the most general unifier for the following pair of sentences.
Question 18. Here is a formula in first-orderlogic:
This formula corresponds to what English sentence, given that
``
" means ``x loves y"?
Question 19. A proof procedure based on generalized modus ponens is not complete (among other reasons) because there is no Horn form representation of formluas like
Questions 20-22. (The following three
questions are related to problem 3.16 in the book.)
The artificial agent SEEK operates as
follows. It perceives a sequence of postive integers, generated
by some sequence function f(n), and then
predicts the next number in the sequence. For example,
the sequence {1, 2, 4, 8,
} -- given to SEEK, we assume,
at random -- might result in the
prediction 16, based on the view that
in this case.
Let's suppose that the space of possible functions consists of all
expressions built from the elements 1 and n, and the
functions
and exponentiation.
Suppose that the program for SEEK has been written in Common Lisp, so that
20. Recall the breakdown of environments in terms of whether they are
Mark the correct Yes/No sequence for these categories and SEEK, respectively.
21. In PAGE description of SEEK, the A would be
22. Suppose that an agent IQ, incorporating both SEEK and the program ANALOGY discussed in the R&N text, has the ability to score 200 on any and all IQ-tests given it. Take a stand as to whether IQ's arrival would mean that AI had truly succeeded. Defend your position in two paragraphs, relating what you say to the reading.