

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Fall 2009 CMSC 250: Homework 1 Perlis
Due at the start of discussion section Wednesday, September 9, 2009.
Please staple your homeworks together if you use more than one page.
Problem 1. (1 point) Print your name , section number , and your TAโs name.
Problem 2. (2 points) When is the first exam? |
Problem 3. (2 points) Join the class listserv. A link to the class listserv can be found at the bottom of the class page. Check here to indicate that you have done this. We will check!
Problem 4. (10 points) Rewrite the following statements as symbolic forms:
a. The block is neither a cube nor a tetrahedron. ๐ = ๐กโ๐ ๐๐๐๐๐ ๐๐ ๐ ๐๐ข๐๐ ๐ = ๐กโ๐ ๐๐๐๐๐ ๐๐ ๐ ๐ก๐๐ก๐๐โ๐๐๐๐๐
~๐ โง ~๐
b. If the button is pressed, but the computer is not plugged in, then nothing will happen. ๐ = ๐กโ๐ ๐๐ข๐ก๐ก๐๐ ๐๐ ๐๐๐๐ ๐ ๐๐ ๐ = ๐กโ๐ ๐๐๐๐๐ข๐ก๐๐ ๐๐ ๐๐๐ข๐๐๐๐ ๐ ๐ = ๐๐๐กโ๐๐๐ ๐ค๐๐๐ โ๐๐๐๐๐
๐ โง ~๐ โ ๐
Problem 5. (20 points) Write a truth table for:
a. ๐ โจ ~๐
๐ ๐ ๐ โจ ~๐ F F T F T F T F T T T T
b. ๐ โจ ๐ โง ~๐ โจ ๐
๐ ๐ ๐ ๐ โจ ๐ โง ~๐ โจ ๐ F F F F F F T F F T F T F T T T T F F F T F T T T T F F T T T T
Problem 6. (20 points) Negate the following and then use DeMorganโs Laws to express the result in a simpler form:
a. (๐ โง ๐) โจ ~๐
~((๐ โง ๐) โจ ~๐) ~(๐ โง ๐) โง ๐ DeMorgan's Laws (~๐ โจ ~๐) โง ๐ DeMorgan's Laws
b. ๐ โ (๐ โ ๐)
~(๐ โ ๐ โ ๐ ) ๐ โง ~ ๐ โ ๐ DeMorgan's Laws ๐ โง ๐ โง ~๐ DeMorgan's Laws
Problem 7. (20 points) ๐ โ ๐, the logical nor of ๐ and ๐, is true if, and only if, both ๐ and ๐ are false; ๐ โ ๐ โก ~๐ โง ~๐. Find an equivalent statement to ๐ โจ ๐ using only โ. Prove they are equivalent. (Hint: Start by showing that ๐ โ ๐ โก ~๐ )
๐ โ ๐ โ (๐ โ ๐) โก ๐ โจ ๐
Proof by truth table: ๐ ๐ ๐ โจ ๐ ๐ โ ๐ ๐ โ ๐ โ (๐ โ ๐) F F F T F F T T F T T F T F T T T T F T
Symbolic proof: ๐ โ ๐ โ (๐ โ ๐) ~๐ โง ~๐ โ ~๐ โง ~๐ Definition of โ ~ ~๐ โง ~๐ โง ~ ~๐ โง ~๐ Definition of โ ๐ โจ ๐ โง ๐ โจ ๐ DeMorgan's ๐ โจ ๐ Idempotent