| Name (PRINTED): |
|
| Student ID #: |
|
| Section # (or TA's: |
|
| name and time) |
|
|
CMSC 250 |
Final Exam |
Monday, May 19, 2003 |
|
Write all answers legibly on the paper provided.
If you need extra paper, raise your hand and request a blank paper -
you must put your name on and hand-in any paper you receive.
The number of points
possible for each question is indicated in square brackets - the total
number of points on the exam is 200, and you will have exactly 2 hours
to complete this exam. You may not use calculators, textbooks or any other
aids during this exam. The formula sheet is attached - this can be removed from the back of the exam and does not need to be handed in at the end.
Grades for this exam and for the semester will be posted on the web site as soon as we can get the material graded.
- [15 pnts.] For each of the following English sentences, translate
the meaning into formal notation using the logic symbols (
,
,
,
,
, and
). In addition to these,
you may also use mathematical, grouping and
set notations symbols as needed.
On the next line write the
negation of the original statement using formal notation.
Note: On the negation, no quantifier nor quantitified expression
(parentheses) may be negated in the final answer.
| There are more than two people with green hair. |
| Domain: P = {All people} |
| Predicate: G(x) = ``x has green hair'' |
| statement: |
| |
| negation: |
| |
| |
| There are not two people who both like the same person. |
| Domains: P = {All people} |
| Predicate: L(x,y) = ``person x likes person y'' |
| statement: |
| |
| negation: |
| |
| |
| Every dog has a month. |
| Domains: D = {all dogs}, M = {all months} |
| Predicate: H(d,m) = ``dog d has month m'' |
| statement: |
| |
| negation: |
| |
| |
**** This area is for grading purposes (points lost per page)- Do not write below this line ****
- [20 pnts.] Use only those rules given on the ``cheatsheet'' to
prove that the following is a valid argument. It is a
valid argument - you only need to prove that it is.
| line |
Statement |
Reason |
Line #s |
| 1 |
|
|
|
| |
|
|
|
| 2 |
|
|
|
| |
|
|
|
| 3 |
|
|
|
| |
|
|
|
| 4 |
|
|
|
| |
|
|
|
| 5 |
|
|
|
| |
|
|
|
| 6 |
|
|
|
| |
|
|
|
| 7 |
|
|
|
| |
|
|
|
| 8 |
|
|
|
| |
|
|
|
| 9 |
|
|
|
| |
|
|
|
| 10 |
|
|
|
| |
|
|
|
| 11 |
|
|
|
| |
|
|
|
| 12 |
|
|
|
| |
|
|
|
| 13 |
|
|
|
| |
|
|
|
| 14 |
|
|
|
| |
|
|
|
| 15 |
|
|
|
| |
|
|
|
| 16 |
|
|
|
| |
|
|
|
| 17 |
|
|
|
| |
|
|
|
| 18 |
|
|
|
| |
|
|
|
| 19 |
|
|
|
| |
|
|
|
| 20 |
|
|
|
| |
|
|
|
- [20 pnts.] Prove or give a counter example for the following statement.
You can only use induction if you can't do this problem deductively, and
you only use strong induction if you can't use regular induction for this proof.
- [20 pnts.]Prove or give a counter example.
You can only use induction if you can't do this problem deductively, and
you only use strong induction if you can't use regular induction for this proof.
Assume the values are defined according to this:
Let
,
Prove or give a counter example for the statement:
.
- [20 pnts.]Prove or give a counter example for the following statement:
You can only use induction if you can't do this problem deductively, and
you only use strong induction if you can't use regular induction for this proof.
Let
.
- [12 pnts.] Answer the following questions about your sock drawer.
You only need to get the answer into a form that involves ONLY
factorials, exponents, fractions, addition, subtraction and multiplication.
You own 10 black socks, 10 brown socks, and 10 orange socks. Assume socks
of the same color are indistinguishable.
- How many ways are there to randomly select 5 socks to put into your
suitcase?
- How many ways are there to put ALL of your socks in a row on the
clothesline?
- You put ALL of your socks into the dryer knowing that the dryer will
randomly consume 4 of them. What is the probability that the dryer
will consume two socks of one color and two socks of another color.
- [8 pnts.] Answer the following questions about the positions of
the baseball team.
You are the manager of 24 baseball players. There are 9 unique "positions"
(jobs) that make up a single baseball team.
You do not have to do the arithmetic, you can leave the answer in a format that includes combinations using the format
, permutations using the format
, addition, subtraction, multiplication, division,exponents and/or factorials.
- In how many ways can you select a team?
(Assume the team is just a group of nine players - the ``position'' each team member is playing doesn't matter.)
- In how many ways can you select a team?
(Assume the team here is defined as which position each player is assigned to - for example Joe playing on your team as the catcher and Bill as the pitcher should be considered a different team than if Bill is the catcher and Joe the pitcher.)
- If Jerry Hairston and Jay Gibbons
(two of the 24 players you may select from) refuse to play
on the same team, then how many ways can you select a team?
(Assume for this question the second definition of team - where teams
are distinct based on the ``positions'' of the players.)
- [20 pnts.] Prove or give a counterexample to the statement assuming that
indicates the complement of the set
and
indicates the powerset of
:
- [15 pnts.] Let
be defined as follows:
- Either prove that f is one-to-one or explain why it isn't.
- Either prove that f is onto or explain why it isn't.
- Either prove that f is a bijection or explain why it isn't.
- [20 pnts.] Assume there is a function
where the sets needed are defined below assuming
indicates the size of the set X:
A is a set of elements.
B is another set of elements.
- If G is onto, what relationship must hold between
and
?
- If G is one-to-one, what relationship must hold between
and
?
- If G is a bijection, what relationship must hold between
and
?
- [20 pnts.]
Given the relation named
over the set given as
, answer each of the following questions.
- (Yes or No) Is this relation transitive?
- (Yes or No) Is this relation irreflexive?
- (Yes or No) Is this relation symmetric?
- (Yes or No) Is this relation reflexive?
- (Yes or No) Is this relation antisymmetric?
- (Yes or No) Is this relation a ``partial order relation''?
Which of the above properties do you have to consider to determine if it is a ``partial order relation''?
- (Yes or No) Is this relation an ``equivalence relation''?
Which of the above properties do you have to consider to determine if it is an ``equivalence relation''?
- [10pnts] Give the following relation (which is a partial order relation), answer the following questions:
- Draw the directed graph that represents this relation:
- Draw the Hasse diagram that represents this partial order relation:
Given any statement variables , , and ,
a tautology and a contradiction , |
| the following logical equivalences hold: |
| 1. Commutative laws: |
 |
 |
| 2. Associative laws: |
 |
 |
| 3. Distributive laws: |
 |
 |
| 4. Identity laws: |
 |
 |
| 5. Negation laws: |
 |
 |
| 6. Double Negative law: |
 |
|
| 7. Idempotent laws: |
 |
 |
| 8. DeMorgan's laws: |
 |
 |
| 9. Universal bounds laws: |
 |
 |
| 10. Absorption laws: |
 |
 |
| 11. Negations of t and c: |
 |
 |
| Modus |
 |
Disjunctive |
 |
 |
| Ponens |
 |
Syllogism |
 |
 |
| |
Therefore  |
|
Therefore  |
Therefore  |
| Modus |
 |
Hypothetical |
 |
| Tollens |
 |
Syllogism |
 |
| |
Therefore  |
|
Therefore
 |
| Disjunctive |
 |
 |
Dilemma: |
 |
| Addition |
Therefore  |
Therefore  |
Proof by |
 |
| |
|
|
Division |
 |
| |
|
|
into Cases |
Therefore  |
| Conjunctive |
 |
 |
Rule of |
 |
| Simplification |
Therefore  |
Therefore  |
Contradiction |
Therefore  |
| Conjunctive |
 |
|
| Addition |
 |
|
| |
Therefore  |
|
| Definition |
 |
 |
 |
| of Implication |
 |
 |
 |
| Definition of |
 |
 |
 |
| Biconditional |
 |
 |
 |
| Negation of |
 |
 |
 |
| Quantifiers |
 |
 |
 |
| Universal Instantiation |
 |
 |
 |
| Universal |
 |
|
|
| Modus Ponens |
 |
 |
 |
| Universal |
 |
|
|
| Modus Tollens |
 |
 |
 |
| Existential Generalization |
where  |
 |
 |
| Universal Generalization |
where  |
 |
 |
| Existential Instantiation |
 |
 |
where  |
Given any sets , , and : |
| 1. Inclusion for Intersection: |
 |
| |
 |
| 2. Inclusion for Union: |
 |
| |
 |
| 3. Transitive Property of Subsets: |
 |
Given any sets , , and ,
the universal set and the empty set : |
| 1. Commutative laws: |
 |
| |
 |
| 2. Associative laws: |
 |
| |
 |
| 3. Distributive laws: |
 |
| |
 |
| 4. Intersection with U (Identity): |
 |
| 5. Double Complement law: |
 |
| 6. Idempotent laws: |
 |
| |
 |
| 7. De Morgan's laws: |
 |
| |
 |
| 8. Union with U (Universals Bounds): |
 |
| 9. Absorption laws: |
 |
| |
 |
| 10. Alternative Representation for Set Diff: |
 |
Given any sets , : |
1.
 |
Intersection with Subset |
2.
 |
Union with Subset |
Given any sets , , and ,
the universal set and the empty set : |
1. Union with : |
 |
| 2. Intersection and Union with Complement |
 |
| |
 |
3. Intersection with : |
 |
4. Complement of Union and : |
 |
| |
 |
| Theorem 4.1.1 |
 |
| Theorem 4.1.1 |
 |
| Theorem 4.1.1 |
 |
| Theorem 4.2.2 |
 |
| Theorem 4.2.3 |
 |
This document was generated using the
LaTeX2HTML translator Version 2002 (1.62)
Copyright © 1993, 1994, 1995, 1996,
Nikos Drakos,
Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999,
Ross Moore,
Mathematics Department, Macquarie University, Sydney.
The command line arguments were:
latex2html -split 0 -nonavigation -antialias_text -antialias spring2003final
The translation was initiated by Phillip Kirlin on 2003-12-05
Phillip Kirlin
2003-12-05
Web Accessibility