hw1 - All good students study hard. No students in...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE 321: Discrete Structures Assignment #1 Autumn 2008 Due: Wednesday, October 8 Problems: 1. Section 1.1, exercise 10 2. Section 1.1, exercise 18, parts (a) to (e) 3. State in English the converse and contrapositive of each of the following impliations: (a) If a is pushed onto the stack before b , then b is popped before a . (b) If the input is correct and the program terminates, then the output is correct. (Be sure to use De Morgan’s Law to simplify the contrapositive.) 4. Section 1.1, exercise 58 5. The following two statements form the basis of the most important methods for automated theorem proving. Use truth tables to prove that they are tautologies. (a) Resolution: (( p q ) ( ¬ q r )) ( p r ) (b) Modus ponens: (( p ( p q )) q 6. Show that Modus ponens is a tautology without using a truth table. Show each step and indicate which logical equivalences you use. 7. Section 1.2, exercise 22 8. Give the negation of each of the following statements:
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: All good students study hard. No students in mathematics are unable to use a computer. x y x = y 2 9. Prove or disprove the claim that the compound proposition x P ( x ) x Q ( x ) is logically equivalent to x ( P ( x ) Q ( x )) 10. Section 1.3, exercise 62 11. Prove or disprove the claim that the proposition x ( P ( x ) Q ( x )) is logically equivalent to x P ( x ) x Q ( x ) (more on next page) 12. Section 1.4, exercise 8 13. Determine the truth value of x y ( x y 2 ) when the universe of discourse is the (a) Positive reals (b) Non-negative reals (c) Positive integers (d) Non-negative integers 14. Section 1.4, exercise 52 Please write how many hours (to the nearest quarter-hour) it took you to complete this as-signment near where you write your name on the rst page....
View Full Document

Page1 / 2

hw1 - All good students study hard. No students in...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online