CMPS 287 Final, Fall 2001

American University of Beirut · Artificial Intelligence · 3 pages

All CMPS 287 files
CMPS 287 Final, Fall 2001, page 1

Stuck on a question? A tutor can walk you through it.

CMPS 287 Final, Fall 2001, page 2 CMPS 287 Final, Fall 2001, page 3

More CMPS 287 files

Show the text of this final exam
CMPS 287 — Artificial Intelligence FINAL EXAM (2-HOURS) Department of Mathematics and Computer Science American University of Beirut Winter 2002 Every question is worth 10% for a total of 100 Read all questions BEFORE you start answering. No questions after first % hour Represent the following in first order logic: a) Some governments do not allow any form of public expression b) A demonstration is a form of public expression c) Agovernment that does not allow a public demonstration will arrest any demonstrator d) John demonstrates against any country e) There are countries whose governments do not allow any demonstration Show, using the inference rules of FOL, that (a-e) imply “will be arrested by some government” (remember to show the proof “formally”, using the rules of inference of Logic, not English, and remember to justify every step!) Show the parse tree and represent the meaning (showing the type) of every component of the parse tree of the following sentence (use the higher-order logic (and the Lambda abstraction operator): Every famous author wrote some best seller novel Suppose that some individual has a quantificational constraint QC(Write, Author, Novel) = ({1..3],[1...|Novel]|]), that is, that some individual believes that it makes sense to speak of 1 to 3 people writing a specific novel, and that a specific author could write many (up to all) novels. Work out the plausibility measures of the direct (V3) and the indirect (AV) reading of the following sentences: a) Every author wrote some novel b) Every famous author wrote some best seller novel Suggest what the defining attributes might be for the following concepts. Use these attributes to suggest (with justification) a suitable inheritance hierarchy that would classify the following concepts: LI OC) AOQ—*O0Q0 6. Suppose the following is a definition of a concept C in terms of its attributes pu, po, ..., pn, where each pi is necessary, and all are sufficient to define the concept C: C(x) Sy D(X) A...A P(X) For example, Father(x) =, Male(x)a (ay)(Parent(x,y)) could be the definition of Father Use the same format (of necessary and sufficient conditions) to represent the meaning of the following concepts (Hint: use adjectives and verbs that are unique to those concepts): a) Human b) Book MERICAN UNIVERSITA) c) Bird LIBRAR "] OF EIROT d) Computer —_ e) Water Suggest a logical representation for the following compound concepts: a) computer program b) late (as in “the now dead”) president c) artificial intelligence d) artificial flower e) previous senator HINT: in some cases you might have to introduce a relation that is implicit between the two concepts (a) How would you represent the towers of hanoi game in Prolog (shown below)? (b) How would you right some of the rules for legal moves? (c) Suggest a reasonable heuristic function to reach the goal (d) Given your heuristic function, is there a preference as to whether a breadth-first search or a depth-first search strategy is better in this problem? #2 tlt a. The rules are as follows: (1) you can move one disk at a time; (2) you can only remove the disk at the top of a bar; and (3) you can put a disk on smaller disk or on an empty bar, only yO lane net Soe fare ce east ee gs Fill in the blanks (a) (b) (c) The “Chinese Room Argument” was an attempt to refute the plausibility of the The problem of determining what relevant changes to consider in a knowledge base after some new information has been received is known as the : in AI. While the expressions (3*5) and (11+4) have the same they do not have the same . The fact that some type of birds (such as penguins) do not fly is called exception while the fact that some bird, that typically flies, but whose wings are broken, or stuck in cement..., does not fly is called Prototypes theory is very related to the concept of concepts, in that in both cases membership in a set/concept is not all or nothing but is a matter of State whether the following is True or False (a) (b) (c) [ ] Lexical disambiguation refers to the process of selecting the most appropriate meaning of sentence ] Semantic networks can modeled using different logics [ ] Default Logic is non-monotonic because we facts in a non- monotonic knowledge base can never decrease ] Neural Networks (as opposed to symbolic approaches) can only represent and reason with numeric values [ ] Higher-Order logic (ambda-abstraction) was introduced in modeling the semantics of natural language to allow for a proper representation for partial meanings