| Name (PRINTED): | |
| Student ID #: | |
| Section # (or Lab Time: | |
| name and time) |
| CMSC 250 | Exam #1 - VER A | Thurs., March 9, 2006 |
|
|
|
|
|
|
|
|
|||||
| 1 | 1 | 1 | 0 | 0 | 1 | 1 | 1 |
| 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 |
| 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 |
| 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 |
| P1 |
|
| P2 |
|
| P3 |
|
| P4 |
|
| Therefore
|
| line | Statement | Reason | Stmt # or |
| premise # | |||
| 1 |
|
P3 | |
| 2 |
|
P4 | |
| 3 | Conjunctive simplification | 1 | |
| 4 | Dbl Neg & Disjunctive simplification | 2, 3 | |
| 5 |
|
Universal Modus Tollens & Dbl Neg | 4, P2 |
| 6 | Conjunctive simplification | 1 | |
| 7 | Dbl Neg & Disjunctive syllogism | 5,6 | |
| 8 |
|
Conjunctive addition | 7, 4 |
| 9 |
|
Dbl Neg & DeMorgan | 8 |
| 10 | Universal Modus Tollens | 9, P1 | |
| 11 |
|
Conjunctive addition | 10, 3 |
| 12 |
|
Existential generalization | 11 |
| There is a student who enjoys the taking of at least one test while in college. |
| Domain: A = {all tests}, P= {all people} |
| Predicates: S(x) = ``x is currently a student in college'' , L(x,y) = ``x enjoys test y'' |
|
|
| There is exactly one dog who likes to eat celery. |
| Domain: A = {all animals} |
| Predicate: D(x) = ``x is a dog'' and L(x)= ``x likes to eat celery'' |
|
|
| Every dog likes to play with each and every child. |
| (note: Each and every child is either a boy child or a girl child.) |
| Domain: A = {all animals (except people)}, P = {all people} |
| Predicates: L(x,y) = ``x likes to play with y'', D(x)= ``x is a dog'', |
| B(x) = ``x is a boy child'', G(x) = ``x is a girl child'' |
|
|
| There is a male politician who trusts himself but doesn't trust any other male politician. |
| Domain: P = {All people} |
| Predicate: M(x) = ``x is male'', P(x) = ``x is a politician'', T(x,y) = ``x trusts y'' |
|
|
| p | q | r | output |
| 1 | 1 | 1 | 0 |
| 1 | 1 | 0 | 1 |
| 1 | 0 | 1 | 0 |
| 1 | 0 | 0 | 1 |
| 0 | 1 | 1 | 0 |
| 0 | 1 | 0 | 1 |
| 0 | 0 | 1 | 0 |
| 0 | 0 | 0 | 0 |
| Let |
|
|
|
|
| QED |
| Let |
| Let |
|
|
|
|
| QED |
| No Flibbits are Gloopers |
| No Gloopers are Higgiters. |
| ----- |
| therefore: No Flibbits are Higgiters. |
| INVALID |
=4.5in
![]() |
| Some hookitees are jambers. |
| Bompa is a jamber. |
| ----- |
| therefore: Bompa is a hookitee. |
| INVALID |
=4.5in
![]() |