This is an open book, open notes exam. Please put all your answers in the blue answer book. You may keep your copy of this question sheet.
Question 1. Discuss the differences in agent architecture (PEAS) between two designs of a robot vacuum cleaner for a large apartment, e.g., having 5 rooms. Please describe the architecture using the proper technical concepts and terminology. Though this question is primarily related to Chapter 2, you may find that concepts from later chapters are applicable too. Use diagrams wherever they're helpful.
Question 2. Give the initial state, goal test, successor function, and cost function for the following problem. Describe a formulation precise enough to be implemented.
A 3-foot-tall monkey is in a room where some bananas are suspended near an 8-foot ceiling. He would like to get the bananas. The room contains two stackable, movable, climbable 3-foot-high crates.
Question 3. The Missionaries and Cannibals problem is: Three missionaries and three cannibals are on one side of a river, along with a boat that can hold one or two people. Find a way to get to the other side of the river without ever leaving a group of missionaries in one place outnumbered by the cannibals at that place. (Please accept my apologies for the political incorrectness of this problem in the current era.)
Hints: This problem can be difficult and confusing until you hit on a simple and efficient representation of the states. I suggest that you use a representation in which the initial state is MMMCCCBr, which means that the three missionaries, M, cannibals, C, and the one boat, B, are on the left side of the river, r. The goal state in this notation is rMMMCCCB. Omit any illegal states and label the transitions by which are in the boat. You should find only about fifteen legal and accessible states. Omit useless cycles that return to an earlier state and don't write down the same state twice in your diagram.
Question 4. Decide whether each of the following sentences is valid, unsatisfiable, or neither. Verify your decisions using truth tables or the equivalence rules of Figure 7.11 in your textbook or even using Resolution.
Question 5. Simple resolution problems in Propositional Logic.
Question 6. Resolution problems in FOL. Below, the problem is set up for you. Your task is to convert the statements to CNF and use Resolution (refutation) to prove the consequent. The English language statements are the following:
These are then represented using the relations:
Here are the two assertions and the negated conclusion. The steps for converting these to the full conjunctive normal form needed for resolution can be found in Sec. 9.5 of your textbook, with additional information on logical equivalences on page 210 (Fig. 7.11).
Go to CSG120 home page. or RPF's Teaching Gateway or homepage