CSCI 301 L06 Worksheet

Lecture 6 - Exercises

Part A - Logical Operators (and, or, not)

Let:

and evaluate the following statements. You may find it helpful to draw a truth table for the more complicated expressions:

  1. \(N \land P\)
  2. \(Q \land S\)
  3. \(Q \lor N\)
  4. \(\neg P\)
  5. \(P \land (Q \lor S)\)
  6. \(N \land P \land Q\)
  7. \(\neg N \lor \neg Q\)
  8. \((N \lor P) \land \neg(Q \land S)\)

Part B - Conditional Statements

  1. Given \(N, P, Q,\) and \(S\) from above, evaluate the following statements:
    1. \(P \Rightarrow Q\)
    2. \(P \Rightarrow S\)
    3. \(Q \Rightarrow S\)
    4. \((N \land P) \Rightarrow (Q \lor S)\)
  2. Give the truth value of each of the following conditional statements:
    1. If the moon is made of green cheese, then 1 = 2.
    2. If 1 = 1, then the moon is made of green cheese.
    3. If 1 = 1, then 30 = 30.
    4. If 1 = 1, then 30 = 12.
    5. If 1 = 2, then 30 = 30.
    6. If 1 = 2, then 30 = 10.

Part C - Conditionals in Natural Language

  1. Without changing their meanings, convert each of the following sentences into a sentence having the form “If P, then Q”:
    1. Whenever people agree with me I feel I must be wrong.
    2. An integer is divisible by 8 only if it is divisible by 4.
    3. You fail only if you stop writing.

Part D - Biconditional Statements

  1. Fill out a truth table with the following five columns:

Describe in words under what circumstances \(P \Leftrightarrow Q\) is true.

Part E - Equivalences

  1. Verify using a truth table that \(P \Leftrightarrow Q\) is logically equivalent to \((P \land Q) \lor (\neg P \land \neg Q)\)
  2. Find a way to express \(P \Rightarrow Q\) using any logical operators except $.
  3. Find a way to express \(P \land Q\) using any logical operators except \(\land\) and \(\Rightarrow\).