| Name (PRINTED): | |
| Student ID #: | |
| Section # (or TA's: | |
| name and time) |
| CMSC 250 | Quiz #4 ANSWERS | Wed., Feb. 15, 2006 |
| p | q | r | Output |
| 1 | 1 | 1 | 1 |
| 1 | 1 | 0 | 1 |
| 1 | 0 | 1 | 0 |
| 1 | 0 | 0 | 0 |
| 0 | 1 | 1 | 1 |
| 0 | 1 | 0 | 0 |
| 0 | 0 | 1 | 0 |
| 0 | 0 | 0 | 0 |
| # | Statement | Rule Used |
| 1 |
|
Assoc. & Distrib |
| 2 |
|
Negation |
| 3 |
|
Identity |
| 4 |
|
Comm & Distrib |
| 5 |
|
Distrib |
| 6 |
|
Negation |
| 7 |
|
Identity |
| P1 | |
| P2 |
|
| P3 |
|
| P4 |
|
| P5 |
|
| therefore |
| # | Statement | Rule | Lines Used |
| 1 | Def of Impl | P5 | |
| 2 |
|
Comm & Conj Add | 1,P4 |
| 3 |
|
Distrib | 2 |
| 4 |
|
Def of Impl | 3 |
| 5 |
|
Distrib | 4 |
| 6 |
|
Negation | 5 |
| 7 |
|
Identity | 6 |
| 8 |
|
comm | 7 |
| 9 |
|
DeMorgan's | 8 |
| 10 | Disj Syll | 9, P1 | |
| 11 | Assume | ||
| 12 |
|
Modus Ponens | 11, P2 |
| 13 | Conj Simpl | 12 | |
| 14 |
|
Conj Add | 10, 13 |
| 15 | CCW with contradiction & DN | 11-14 | |
| 16 | Conj Add | 10,15 |