Next: About this document ...
CMSC 250 Homework 3 Spring 2006
Due Wed Feb 15 at the beginning of your discussion
section.
You must write the solutions to the problems single-sided on your own lined paper, with all sheets stapled together, and with all answers written in sequential order or you will lose points.
- Use only the rules of inference that appear on the ``cheat sheet'' you
were given to prove the following:
-
-
| P1 |
 |
| Therefore |
 |
- Draw a circuit with inputs P, Q, and R, such that the output is 1
when at exactly two of the inputs are 1, and 0 otherwise. You can only use
2-input AND gates, 2-input OR gates, and NOT gates.
- Redo the previous problem using only 2-input OR gates and NOT gates (you may not use any AND gates in this version).
- Translate the following numbers from one base to another. Assume any 8-bit binary number is representing the value using 2's complement notation, but all other representations are only representing positive integers.:
-
-
-
-
-
-
- Translate the following English sentences into formal language. Then write the negation of the original sentence in informal language, and translate the negation into formal language. You may use symbols such
and mathematical and logical symbols. You may use the domains and predicates you believe are most appropriate to the sentence. Make sure you define what those domains and predicates are so that we can understand your translation.
- All cars are driven by a person.
- Some people don't drive cars.
- No cars have more than 24 tires.
- Give the invesrse, the converse, and the contrapositive of each of the following statements:
-
if
is an even number, then
is an odd number.
-
if s is frustrated with CMSC250, s will go do a.
-
- Let the predicate
``person p laughs at joke j'', let
, and let
For each of the following statements, write the meaning of the statement using informal language, then negate the statement using formal notation, and write the meaning of the negation using informal language.
-
-
-
-
-
-
Next: About this document ...
Chang Hu
2006-02-12
Web Accessibility