

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


1. (20 pts total, 10 pts each) CONSTRAINT SATISFACTION PROBLEMS. This problem asks about the Australia Coloring Problem. Each region must be colored one of Red (R), Green (G), or Blue (B). Neighboring regions must be a different color.
1a. (10 pts) MINIMUM-REMAINING-VALUES HEURISTIC. Consider the assignment below. WA is already assigned, and some values in the domains of other variables have been eliminated. List all unassigned variables that might be selected by the Minimum-Remaining-Values (MRV) Heuristic:..
WA NT Q NSW V SA T R G B R G B R G B R G B G B R G B
1b. (10 pts) DEGREE HEURISTIC. Consider the assignment below. WA is already assigned, and some values in the domains of other variables have been eliminated. List all unassigned variables that might be selected by the Degree Heuristic:.
WA NT Q NSW V SA T R G B R G B R G B R G B G B R G B
2. (5 pts each, 35 pts total) Mark the following reasoning patterns as S (= sound, carries true premises to true conclusions) or U (= unsound, may carry true premises to false conclusions). Premises are shown above the line, conclusions below the line. Here, “→” means “implies,” “¬” means “not.,” and the solid horizontal line means “therefore.” The first one is done for you as an example.
2a.. S. P → Q 2b. P → Q P ¬ Q Q ¬ P
****** TURN PAGE OVER. QUIZ CONTINUES ON THE REVERSE ******
Australia Coloring Problem Constraint Graph
WA
NT
Q
SA
T
NSW W
V
2c. P → Q 2d. ¬ P → Q Q P P ¬ Q
2e. P → ¬ Q 2f. P → Q Q ¬ P or Q ¬ P
2g. P → Q 2h. 50% of voters are Republican P or ¬ Q 50% of Republicans are women 25% of voters are women
4. (20 pts total, 10 pts each) The following sentences are in Implicative Normal Form. Convert them to Conjunctive Normal Form (i.e., write each as the conjunction of one or more clauses, each clause of which is the disjunction of a set of literals). 4a. Q S.
4b. P Q.
5. (5 pts each, 25 pts total) In each of the following, KB is a set of sentences, {} is the empty set of sentences, and S is a single sentence. Recall that |= is read “entails” and that |- is read “derives.” S = Sound. U = Unsound. C = Complete. I = Incomplete. Sat = Satisfiable. Unsat = Unsatisfiable. V = Valid. N = None of the above. For each blank below, write in the key above that corresponds to the best term. The first one is done for you as an example.
5a. Let S be given in advance. Suppose that {} |= S. Then S is V.
5b. Let S be given in advance. Suppose that for some KB1, KB1 |= S; but that for some other KB2, KB2 |= ¬S. Then S is.
5c. Suppose that for any KB and any S, whenever KB |= S then KB |- S. Then the inference procedure is.
5d. Suppose that for some KB and some S, KB |- S but not KB |= S. Then the inference procedure is.
5e. Suppose that for some KB and some S, KB |= S but not KB |- S. Then the inference procedure is ..
5f. Suppose that for any KB and any S, whenever KB |- S then KB |= S. Then the inference procedure is.