| Name (PRINTED): | |
| Student ID #: | |
| Section # (or Lab Time: | |
| name and time) |
| CMSC 250 | Exam #1 ANSWERS | Tuesday, Oct. 11, 2005 | |
| (0201 & 0202) |
|
|
|
|
|
|
| A | B | C | ||||||||||
| p | q | r |
|
|
|
|||||||
| 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0* | |
| 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |
| 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0* | |
| 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | |
| 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | |
| 1 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | |
| 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 0* | |
| 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 |
| I looked at the rows marked with the stars. These are the critical rows. The premises are both true in these rows. The premises are the columns labeled A and B. The premises are both true in these rows but the conclusion is false, therefore the argument is not valid. |
|
| P1 |
|
| P2 |
|
| P3 |
|
| P4 |
|
| Therefore
|
| line | Statement | Reason | Line #s |
| 1 |
|
P4 | |
| 2 | conj simplification | 1 | |
| 3 |
|
P3 | |
| 4 |
|
disj syllogism | 2,3 |
| 5 | conj simplification | 1 | |
| 6 | MT | 4,5 | |
| 7 |
|
P1,6 | |
| 8 |
|
def of impl | 7 |
| 9 |
|
DeMorgan's | 8 |
| 10 |
|
Double Neg | 9 |
| 11 |
|
10 |
| There is exactly one teddy bear that is sitting in a chair. |
| Domain: U = {all stuffed animals}, C={all chairs} |
| Predicate: S(x,y) = ``x is sitting in y'', B(x) = ``x is a bear'' |
|
|
| Every teddy bear has either a boy or a girl (child) who loves it. |
| (note: Each and every child is either a boy child or a girl child.) |
| Domain: T = {all teddy bears}, C = {all children} |
| Predicates: L(x,y) = ``x loves y'', B(x) = ``x is a boy'', G(x) = ``x is a girl'' |
|
|
| No teddy bear is taller than a CMSC 250 instructor. |
| Domain: U = {all suffed animals}, P= {all people} |
| Predicates: B(x) = ``x is a teddy bear'', I(x) = ``x is a CMSC 250 instructor'', T(x,y) = ``x is taller than y'' |
|
|
| All white fluffy teddy bears are light and cuddly. |
| Domain: Z = {all teddy bears} |
| Predicate: W(x) = ``x is white'', F(x) = ``x is fluffy'', L(x) = ``x is light'', C(x) = ``x is cuddly'' |
|
|
| p | q | r | output |
| 1 | 1 | 1 | 1 |
| 1 | 1 | 0 | 0 |
| 1 | 0 | 1 | 0 |
| 1 | 0 | 0 | 0 |
| 0 | 1 | 1 | 1 |
| 0 | 1 | 0 | 0 |
| 0 | 0 | 1 | 1 |
| 0 | 0 | 0 | 1 |
| No cats like dogs. |
| Nothing that likes a dog can play at the park. |
| ----- |
| therefore: No cats can play at the park. |
Circle One: Valid Invalid |
| The ``cat'' circle and the ``likes dogs'' circle must be not touching. |
| The ``likes dogs'' and ``can play in the park'' circle must also be not touching. |
| The ``cat'' circle and the ``can play in the park'' circle must be overlapping. |
| Some horses like dogs. |
| Flicka is a horse. |
| ----- |
| therefore: Flicka does like dogs. |
Circle One: Valid Invalid |
| The ``horse'' circle and the ``likes dogs'' circle must be overlapping. |
| The ``Flicka'' point must be inside of the horse circle. |
| The ``Flicka'' point must be outside of the ``likes dogs'' circle. |