Docsity

Expanded State - Artificial Intelligence - Exam, Exams of Artificial Intelligence

Toggle sidebar
bg1
Midterm Examination
CS540: Introduction to Artificial Intelligence
November 1, 2005 Instructor: Jerry Zhu
CLOSED BOOK
(One letter-size notes allowed. Turn it in with the exam)
LAST (FAMILY) NAME:
FIRST NAME:
Problem Score Max Score:
5 points
each
1 ___________
2 ___________
3 ___________
4 ___________
5 ___________
6 ___________
7 ___________
8 ___________
9 ___________
10 ___________
11 ___________
12 ___________
13 ___________
14 ___________
15 ___________
16 ___________
17 ___________
18 ___________
19 ___________
20 ___________
Total ___________ 100
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd

Partial preview of the text

Download Expanded State - Artificial Intelligence - Exam and more Exams Artificial Intelligence in PDF only on Docsity!

Midterm Examination

CS540: Introduction to Artificial Intelligence

November 1, 2005 Instructor: Jerry Zhu CLOSED BOOK (One letter-size notes allowed. Turn it in with the exam)

LAST (FAMILY) NAME:

FIRST NAME:

Problem Score Max Score: 5 points each 1 ___________ 2 ___________ 3 ___________ 4 ___________ 5 ___________ 6 ___________ 7 ___________ 8 ___________ 9 ___________ 10 ___________ 11 ___________ 12 ___________ 13 ___________ 14 ___________ 15 ___________ 16 ___________ 17 ___________ 18 ___________ 19 ___________ 20 ___________ Total ___________ 100

  1. A* search Run A* on the following graph, starting from S. Write done the order of expanded states, and determine which goal (G1 or G2) is reached. Numbers on the edges are the edge costs. The heuristic function h is shown within each state. Everything being equal, expand states in alphabetical order.
  2. Search heuristics If h1 and h2 are admissible heuristics, circle all admissible heuristics below: A. 0.1h1 + 0.9h B. min(h1, h2) C. min(h1, 2h2) D. min(h1, 0.5h2) E. h1 โ€“ h

S

A

B

G

G

  1. Gradient descent Assume we want to find the minimum of f(x)=x^4. We use gradient descent by iterating x ๏ƒŸ x โ€“ 0.1 * f โ€™(x) where 0.1 is the step size, and f โ€™(x) is the derivative of f(x). A. If we start at x=1, what will happen eventually? You donโ€™t have to compute exact numbers for many iterations, instead you should use the trend to answer the question. B. If we start at x=3, what will happen eventually?
  2. Convexity The function (x-a)^2 is convex. So is (x-b)^2. The function 2(x-a)^2 โ€“ (x-b)^2 is: A. always convex B. always concave C. sometimes convex and sometimes concave, depending on the values a, b D. none of above
  1. Game Tree with Chance node Fill in the game theoretic values for all nodes.
  2. Matrix normal form of game Write down the matrix normal form of the following game: ma x mi n 1 3 2 ma x mi n mi n mi n -1^2 3 2 7 Chance p=0.3 (^) p=0.
  1. Nash equilibrium Circle all Nash equilibria in the following zero-sum game:
  2. Propositional logic We define a new propositional logic connective ๏Š, which has the following truth table: P Q P ๏Š Q T T F T F T F T F F F F Write down the truth table for ( P ๏Š Q ) ๏Š ( Q ๏Š P ).
  1. Unification Write down the Most General Unifier for the following pairs of FOL clauses. A, B are objects and x, y, z are variables. A. middle(left(x), x, right(x)), middle(left(A), A, y) B. middle(left(x), x, right(x)), middle(left(y), A, z) C. middle(left(x), x, right(B)), middle(left(y), A, right(y))
  2. alpha-beta pruning Perform alpha-beta pruning on the following game tree. Write down the game theoretic value, alpha, beta for applicable nodes, and mark which branches are pruned. As usual the root node is max.
  1. English to FOL The English sentence: โ€œI saw the duck in the park with a telescope.โ€ is famous for its ambiguity. We have defined the following objects and predicates for you: I, Duck, Park, Telescope V(x, y, z): x visually detected y using device z L(x,y): x is located in y P(x,y): x possesses y As an example, this is one possible (although somewhat unusual) FOL interpretation of the original sentence, and its English re-interpretation: โˆƒx V(I, Duck, x) โˆง L(Duck, Park) โˆง P(Duck, Telescope) I saw the duck (using some device โ€“ maybe just my eyes), the duck is in the park, and the duck has a telescope. Write down 5 more different FOL interpretations of the original sentence. You do not have to re-interpret them in English. You may define new predicates if necessary.

  2. FOL backward chaining Given the FOL KB: above(x, z) โˆง ontop(z, y) โ‡’ above(x, y) ontop(x, y) โ‡’ above(x, y) ontop(A, B) ontop(B, C) When proving above(A, C), what might happen if we always scan the KB from top to bottom, and apply the first rule in the KB whose right-hand-side matches the sub-goal we are trying to prove?

  3. Propositional logic Show that the following KB is inconsistent. You can use and mix whatever sound rules (e.g. Modus Ponens, resolution).

  4. ยฌ ( A โ‡’ D)

  5. A โ‡’ B

  6. E โ‡’ ยฌ ( D โ‡’ C)

  7. ( B โˆง A ) โ‡’ E

(scratch paper)