CS 281 Test I
July 16, 1996


1. Express the assertions given below as a proposition of a predicate logic using the following predicates. The universe is the set of integers.

G(x,y): x > y
N(x): x is a natural number.
E(x): x is even.

(a) There are even numbers among the integers.
(b) Every natural number is negative or even.
(c) An integer is greater than 0 only if it is a natural number.
(d) 2 is even.
(e) For an integer to be a natural number, it must be nonnegative.

2. Fill in the blanks with the shortest string of characters so that the resultant proposition is valid.

(a) tex2html_wrap_inline41
(b) tex2html_wrap_inline43
(c) tex2html_wrap_inline45
(d) [ tex2html_wrap_inline47

3. Simplify the following proposition (write all intermediate steps):
(a) tex2html_wrap_inline49
(b) tex2html_wrap_inline51

4. Find the converse and contrapositive for each of the following propositions:
(a) If an argument is wrong, then it is not valid.
(b) For a list of numbers to be sorted, it is necessary that the largest number in the list can be found quickly.
(c) 3 is a prime number only if it is not divisible by 2.




S. Toida
Thu May 29 10:34:57 EDT 1997