CS 203 - Exam 1 Spring 1996: Mathematics Problems in Set Theory and Logic, Exams of Discrete Structures and Graph Theory

The solutions manual for exam 1 of cs 203, a university-level course in mathematical logic and set theory, held in spring 1996. The exam covers various topics such as set theory, propositional logic, and euclidean algorithm. Students are required to identify true or false statements, perform calculations using the euclidean algorithm, and prove theorems.

Typology: Exams

2012/2013

Uploaded on 04/27/2013

ashakiran
ashakiran 🇮🇳

4.5

(27)

261 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CS 203 - Exam 1 - Spring 1996
Notation: Let R denote the Real Numbers, and P(A) denote the Power Set of A.
1. (20 pts.) Circle T if the statement is true or F if the statement is false.
TFR R×R.
T F The set {1,2,3,4} has 16 subsets.
TF∅ ⊂ P({,1}) and ∅ ∈ P({0,1}).
T F The negation of the statement: All Natural Numbers are positive
is the statement: No Natural Numbers are positive.
T F [(36 DIV 7) - (93 MOD 5)] = 2.
TFIf d | (x + y) and d | x, then d | y.
T F If A = {0,1}, then A × A × A = {000,001,010,011,100,101,110,111}.
TFIf Σ = {0,1}, then |Σ5| = 32.
T F The set of even integers and the set of odd integers partition the set of integers.
T F A conditional and its contrapositive are logically equivalent.
2. (6 pts.) Use the Euclidian Algorithm to find gcd(1234,56)
3. (10 pts.) Show, without using truth tables, that (~p q) r p ~q r.
4. (4 pts.) Give the converse, inverse, contrapositive, and negation of the universal statement:
All prime numbers greater than 2 are odd.
5. (10 pts.) Find the Boolean polynomial representing a circuit of four inputs in such a way
that if the integer value of the inputs is prime, then current flows out of the circuit. (For exam-
ple, 12 is not prime, and 12 = 1100, so f(1100) = 0)
6. (10 pts.) Show the following is a valid argument: p (q r)
~r
~p
7. (40 pts.) Prove 2 of the 4 theorems:
Theorem 1: (A B)c = Ac Bc.
Theorem 2: The difference of the square of natural number and the square of its
successor is odd.
Theorem 3: There is no largest integer.
Theorem 4: If a, b, and c are integers with a = b + c , then gcd(a,b) = gcd(b,c).
Docsity.com

Partial preview of the text

Download CS 203 - Exam 1 Spring 1996: Mathematics Problems in Set Theory and Logic and more Exams Discrete Structures and Graph Theory in PDF only on Docsity!

CS 203 - Exam 1 - Spring 1996 Notation: Let R denote the Real Numbers, and P(A) denote the Power Set of A.

1. (20 pts.) Circle T if the statement is true or F if the statement is false. T F R ⊂ R×R. T F The set {1,2,3,4} has 16 subsets. T F ∅ ⊂ P({∅,1}) and ∅ ∈ P({0,1}). T F The negation of the statement: All Natural Numbers are positive is the statement: No Natural Numbers are positive. T F [(36 DIV 7) - (93 MOD 5)] = 2. T F If d | ( x + y ) and d | x , then d | y. T F If A = {0,1}, then A × A × A = {000,001,010,011,100,101,110,111}.

T F If Σ = {0,1}, then |Σ^5 | = 32.

T F The set of even integers and the set of odd integers partition the set of integers. T F A conditional and its contrapositive are logically equivalent.

2. (6 pts.) Use the Euclidian Algorithm to find gcd(1234,56) 3. (10 pts.) Show, without using truth tables, that (~p ∧ q) → r ≡ p ∨ ~q ∨ r. 4. (4 pts.) Give the converse, inverse, contrapositive, and negation of the universal statement: All prime numbers greater than 2 are odd. 5. (10 pts.) Find the Boolean polynomial representing a circuit of four inputs in such a way that if the integer value of the inputs is prime, then current flows out of the circuit. (For exam- ple, 12 is not prime, and 12 = 1100, so f(1100) = 0) 6. (10 pts.) Show the following is a valid argument: p → (q ∧ r) ~r ∴ ~p 7. (40 pts.) Prove 2 of the 4 theorems: Theorem 1 : (A ∩ B)c^ = Ac^ ∪ Bc. Theorem 2 : The difference of the square of natural number and the square of its successor is odd. Theorem 3 : There is no largest integer. Theorem 4 : If a , b , and c are integers with a = b + c , then gcd( a , b ) = gcd( b , c ).

Docsity.com