{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Computer Science 188 - Fall 1999 - Russell - Midterm 1

Computer Science 188 - Fall 1999 - Russell - Midterm 1 - CS...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CS 188 introduction to Al an 1999 Stuart Real] Midterm You have 1 hour and 21“.] minutes. The exam is open-book, open-notes. Hill points total. You will not necessariiy finish all questions. so do your best ones first. 1‘u-l‘vfrite your answers in blue books. Check you haven’t skipped any by accident. Hand them all in. Panic not. 1. {18 pts.) ’I‘ruefli‘nlse Decide if each of the following is true or false. if you are not sure you may wish to provide a brief explanation to follow your answer. [a] {3] a. rational agent outperforms all nonrational agents because it knows the actual outcome ofits actions. {b} {3] A sound logical reasoning procedure is not necessary for passing the Turing test. [c] {3) Internal state is of no use to an agent that lives in an accessible environment. [d] [3] R{F{y}.y,s] and Ris.F{A},F(tI]) are unifiable. [e] {3] Simple hill-climbing is a complete algorithm for solving CSPs. {f j {3] its .1: :9: is a satisfiable sentence. 2. [20 pts.} Search, constraint satisfaction it. domino is made by sticking together two squares along an edge. An roomino is made by sticking together It squares along edges, any way you please. Thus, there is only one possible domino shape, but there are two distinct 3~ominoes {3—in—arrow and L—shapod]. {a} (ti) Suppose we have to construct an mention that is beautiful, for fixed 11. Give a complete formulation of the sears-i problem that corresponds to this task, renaming that a beauty detector is available. [b] {5] Identify a suitable search algorithm for this task and explain your choice. {c} {5) Give an upper bound, in terms of n, on the number of possible n-ominoes. [Hint think about the branching factor for the mnstruction process} [dl {5] N ow consider the problem of tiling a given womino with dominoes—that is, covering it exactly without overlapping any dominoes. Formulate this problem precisely as a constraint satisfaction problem. 3. {14 pts.) Propositional Logic Assume- we have the following propositions: Betteryfleod, Radio Works, Ontflfcss, and Cor-Stan‘s. [You may use the abbreviations E, El. G, C in your answer.) (a) {2} What is the total number of possible models? Us} [4} How many models are there in which the following sentence is false? [Radio Warts h CorSterts} => [-IflutflfGosfi. antteryDeod} [c]: [4} Is the above sentence equivalent to a set of Horn clauses? Explain. {d} [4} Prove that the above sentence is not entailed by the sentence Radio Works :5 nfintieryflend. 4. {12 pts.) First-order logic Let M{s:] be true if :r is a mail carrier; fife] be true if .t' lives in Berkeley; and His, y) be true if it knows y. Translate the following sentences into first+order logic: {a} {ti} There are at least two mail carriers who live in Berkeley. [b] [6] All the mail carriers who live in Berkeley know each other. ...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern