CMSC 250 Homework 1 ANSWERS Fall 2004
Solutions
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.
  1. Convert the following sentences to logical expressions assuming that ``j'', ``k'' and ``l'' represent the propositions below.
    1. Nobody likes to swim. $\sim j \wedge \sim k \wedge \sim l$ or $\sim (j \vee k \vee l)$
    2. Nobody except Lauren likes to swim. $\sim j \wedge \sim k \wedge l$
    3. Somebody in addition to Lauren likes to swim. $(j \vee k) \wedge l$
  2. Determine which of the following are statements and which are not.
    1. How high is that? This is not a statement.
    2. ``What'' is a word that is used to start a question. This is a statement.
    3. This sentence refers to itself. This is a statement (it is true).
    4. This sentence does not refer to itself. This is a statement (it is false).
  3. For each of the following, translate the logical expression to an English statement and then give the set of values that make the statement true. Assume that we restrict ourselves only to the set of integers $A=\{-3,-2,-1,0,1,2,3,4,5,6,7,8,9,10\}$, and that we are using the following propositions:
    1. $a \wedge \sim c$ n is even and not a exact multiple of 3 $\{-2,2,4,8,10\}$
    2. $c \wedge \sim (b\wedge a)$. n is an exact multiple of 3 and it is either odd or greater than 7 $\{-3, 3, 9\}$
    3. $\sim b \vee c$ n is greater than 7 or it is a multiple of 3 $\{-3,0,3,6,8,9,10\}$
  4. Let $a$, $b$, and $c$ be statements. Construct the complete truth table for the following statement: $(a\vee b)\wedge (\sim c\vee a)$.
    $a$ $b$ $c$ $a \vee b$ $\sim c$ $\sim c \vee a$ $(a\vee b)\wedge (\sim c\vee a)$
    1 1 1 1 0 1 1
    1 1 0 1 1 1 1
    1 0 1 1 0 1 1
    1 0 0 1 1 1 1
    0 1 1 1 0 0 0
    0 1 0 1 1 1 1
    0 0 1 0 0 0 0
    0 0 0 0 1 1 0
  5. Let $ap$, $q$, and $r$ be statements. Construct the complete truth table for the following statement: $p\wedge (q\vee \sim r)$.
    $p$ $q$ $r$ $\sim r$ $q \vee \sim r$ $p\wedge (q\vee \sim r)$
    1 1 1 0 1 1
    1 1 0 1 1 1
    1 0 1 0 0 0
    1 0 0 1 1 1
    0 1 1 0 1 0
    0 1 0 1 1 0
    0 0 1 0 0 0
    0 0 0 1 1 0
  6. Let $x$ and $y$ be statements. Construct the complete truth table for the following statement: $((\sim x\vee y)\wedge x)\vee \sim y)$
    $x$ $y$ $\sim x$ $\sim y$ $\sim x \vee y$ $(\sim x \vee y) \wedge x$ $((\sim x\vee y)\wedge x)\vee \sim y)$
    1 1 0 0 1 1 1
    1 0 0 1 0 0 1
    0 1 1 0 1 0 0
    0 0 1 1 1 0 1


Kin-Keung Ma 2004-09-08

Web Accessibility