
First Hour + Test
Name __________________
First MidTerm/āHour Examā ā CS250 ā Summer ā06
NOTE TO STUDENT: This test is rated ādifficult.ā At the end of the course, we will curve the grades. We will
NOT curve an individual test, but you can use data such as how you stand relative to the āmean & deviation
measureā and your rank on the test to assess where you stand.
You are allowed a crib/cheat sheet ⦠8 ½ by 11, both sides. Comments (up to five (5) in number) are permitted --- see p. 6.
---------------------------------------------------------------------------------------------------------------------
1. (T or F): When A, B, D are assumed true and C is false, what is the value of the statement
((BļC) ļ D) ļ A
Use the True or False column on the answer sheet.
2. (T or F): The following statement is a tautology
(Aļ B) ļ (A ļ B)
3. (T or F): The following statement is a tautology --- You may have to work it out ?
[(AļB) ^ Cā²]ļ Aā²ļ C
4. (T or F): āUsing propositional logicā to prove that an argument is valid, according to
our author, means āusing a Truth Table.ā
5. (T or F): Clause logic, as defined in Kowalski Normal Form, is a second order logic.
6. An expression (assertion) of the form ļ¢x $ y A(x, y).
a. expresses a functional dependency of x on y
b. can be written as ($x) A(x, f(x)) where you call f(x) a āSkolem functionā
c. can be written as A(x, f(x)) ā in clause logic
d. all of the above
7. One of the following are legitimate
a. Replacing (ļ¢x) P(x) by P(x) is called universal generalization
b. Replacing P(a) by P(x) is called universal generalization
c. Replacing ($y) A(x, y) by A(x, a) is existential instantiation if a is new in an argument
8. Where P(a) is T and Q(x) ā P(x), we want to show Q(a) holds ā¦. So, we:
a. match the denial of Q(a) with the formula, Q(x) ā P(x)
b. realize a ānewā denial: ā P(a)
c. experience a contradiction between: ā P(a) and P(a) ā
d. conclude that Q(a) is indeed true ⦠i.e., when we deny it, it leads to a contradiction
e. all of the above
9. (T or F): Resolution involves Modus Ponens, Modus Tollen, and āMost General Unifiersā
10. THIMK English language translation of the following wff
(ļ¢x) [(x isa_EVEN_int ļ ($k) (k isa_ int ļ x = 2k)
a. An even integer is some integer obtained by finding another integer & multiplying them
b. IF x is an even number THEN there is some even integer k such that x is equal to twice k
p.1