
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This exam paper is very easy to understand and very helpful to built a concept about the foundation of computers and discrete structures.The key points in these exam are:Boolean Function, Construct Truth Table, Boolean Polynomial, Circuit Diagram, Negation of Statement, Prime Numbers, Properties of Sets, Length Condition, Universal Conditional Statement, Consecutive Integers
Typology: Exams
1 / 1
This page cannot be seen from the preview
Don't miss anything!

- 1 -
1. (16 pts.) Construct the truth table for the following statement: [~r → (p ∨ ~q)] ∨ s 2. (14 pts.) Prove: a. Using truth tables that: b. Without using truth tables that: ~(p → q) ≡ p ∧ ~q ~[~(r ∧ s) ∨ (p ∧ ~q)] ≡ (r ∧ s) → (p ∧ ~q) (hint: use part a ) 3. (20 pts.) a. Find the truth table of the b. Find the Boolean polynomial whose truth Boolean function f(x,y) = x + xy table is: x y f(x,y) x y z f(x,y,z) 1 1 1 1 1 0 1 0 1 1 0 0 0 1 1 0 1 1 0 0 1 0 0 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 c. Without using truth tables, prove xy + x’y + x’y’ = x’ + y. 4. (10 pts.) Find the circuit diagram for a system of three light switches which turn a light ON only when all three switches are either all ON or all OFF. 5. (20 pts.) a. Rewrite the statement: All integers divisible by 2 are even into the form: For all ___, if ___, then ___. b. Rewrite the statement: Some primes are even into the form: There exists ___, such that ___.
c. Express the statement: "∀x ∈ R , x^2 ≥ 0" in simple English. d. Write the negation of the statement: All Computer Science students hate math.
e. Write the negation of the statement: ∀x ∈ R , x > 7 implies x^2 > 49.
6. (5 pts.) Disprove by counterexample the statement:
For all prime numbers, k , (-1) k^ < 0.
7. (15 pts.) Prove the statement: The sum of any even and any odd integer is odd.
Docsity.com