|
CMSC 250 |
Quiz #2 ANSWERS |
Wed., Sept. 8, 2004 |
|
- [10 pnts.]Determine if each of the following pair of statements is
logically equivalent by using a truth table. Use 1 for ``true'' and 0 for ``false''
to complete the truth table.
-
-
| p |
q |
r |
 |
 |
 |
 |
 |
| 1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
| 1 |
1 |
0 |
1 |
1 |
1 |
1 |
1 |
| 1 |
0 |
1 |
0 |
1 |
1 |
1 |
1 |
| 1 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
| 0 |
1 |
1 |
0 |
1 |
1 |
1 |
1 |
| 0 |
1 |
0 |
0 |
0 |
0 |
1 |
0 |
| 0 |
0 |
1 |
0 |
1 |
1 |
1 |
1 |
| 0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
YES(Yes or No) These statements are logically equivalent.
- [6 pnts.]Give one possible value for the
expressed in each of the following
which would make the statement true. (If there is no possible value,
write the word ``impossible''.)
-
impossible
-
3
- [10 pnts.] Give the complete truth table of the following statement.
Then answer the question posed below based on your results.
| |
|
|
|
 |
|
 |
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| 1 |
1 |
1 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
| 1 |
1 |
0 |
1 |
0 |
1 |
1 |
1 |
0 |
0 |
| 1 |
0 |
1 |
1 |
0 |
0 |
0 |
0 |
1 |
0 |
| 1 |
0 |
0 |
1 |
0 |
1 |
1 |
1 |
1 |
1 |
| 0 |
1 |
1 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
| 0 |
1 |
0 |
1 |
0 |
1 |
0 |
0 |
0 |
0 |
| 0 |
0 |
1 |
0 |
1 |
0 |
0 |
1 |
1 |
1 |
| 0 |
0 |
0 |
0 |
1 |
1 |
0 |
1 |
1 |
1 |
| |
|
|
|
|
|
|
|
|
|
Give values for each of the following variables
to describe one situation where this
statement would be true. Indicate the value of that variable
by circling either the true or the false on that line.
| |
|
|
| a |
TRUE |
FALSE |
| |
|
|
| |
|
|
| b |
TRUE |
FALSE |
| |
|
|
| |
|
|
| c |
TRUE |
FALSE |
| |
|
|
CORRECT ANSWERS ARE (a=False, b=False, c=False) OR (a=False, b=False, c=True) OR
(a=True, b=False, c=False).
- Give an alias - a madeup name you will associate with yourself - under
which you would like your grades posted. If you do not want to have
your grades posted, specify the alias ``None''.
Kin-Keung Ma
2004-09-08
Web Accessibility