Nothing Special   »   [go: up one dir, main page]

MMW Assessment

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

ASSESMENT 2

1. Write each statement in words. Let p: The plane is on time. Let q: The sky is clear.

a) p ∧ (¬q)
- The plane is on time and the sky is not clear.

b) q → (p ∨¬p)
- The sky is clear, then the plane is on time or the plane is not on time.

c) p ↔ q
- The plane is on time if and only if the sky is clear.

d) p → q
- The plane is on time, ten the sky is clear.

2. Construct a truth table for each proposition.

a) p → ¬ q
p q ¬q p→¬q
1 1 0 0
1 0 1 1
0 1 0 0
0 0 1 1

b) [(p ∧ ¬q) → r
p q r ¬q p ∧ ¬q (p ∧ ¬q) → r
1 1 1 0 0 1
1 1 0 0 0 0
1 0 1 1 1 1
1 0 0 1 1 0
0 1 1 0 0 1
0 1 0 0 0 0
0 0 1 1 0 1
0 0 0 1 0 0
c) (p ∧ q) ∨ r]↔[(p ∧ r) ∨ (q ∧ r)]
p q r p ∧q p∧r q ∧ r (p ∧ q) ∨ r (p ∧ r) ∨ (q ∧ r) (p ∧ q) ∨ r]↔[(p ∧ r) ∨ (q ∧ r)
1 1 1 1 1 1 1 1 1
1 1 0 1 0 0 1 0 0
1 0 1 0 1 0 1 1 1
1 0 0 0 0 0 0 0 1
0 1 1 0 0 1 1 1 1
0 1 0 0 0 0 0 0 1
0 0 1 0 0 0 1 0 0
0 0 0 0 0 0 0 0 1

d) [(p ∧ r ) → (q ∧ ¬r )] → [(p ∧ q) ∨ r )]
p q r ¬r p∧ r q ∧ ¬r p∧ q (p ∧ q) ∨ r (p ∧ r ) → (q ∧ ¬r ) (q ∧ ¬r )] → [(p ∧ q) ∨ r )
1 1 1 0 1 0 1 1 0 1
1 1 0 1 0 1 1 1 1 1
1 0 1 0 1 0 0 1 0 1
1 0 0 1 0 0 0 0 0 0
0 1 1 0 0 0 0 1 0 1
0 1 0 1 0 1 0 0 1 0
0 0 1 0 0 0 0 1 0 1
0 0 0 1 0 0 0 0 0 0

3. Using the truth table prove that the following propositions are logically
equivalent: p ∨ (q ∧r)⇐ ⇒ (p ∨q) ∧ (p ∨r)

p q r q ∧r p ∨q p ∨ (q ∧r) (p ∨q) ∧ (p ∨r)


1 1 1 1 1 1 1
1 1 0 0 1 1 1
1 0 1 0 1 1 1
1 0 0 0 1 1 1
0 1 1 1 1 1 1
0 1 0 0 0 0 0
0 0 1 0 1 0 0
0 0 0 0 0 0 0
4.Prove the De Morgan’s Laws by constructing truth tables.
¬ (p∧q) = ¬p∨ ¬q
¬ (p∨q) = ¬p∧ ¬q

p q ¬p ¬q p∧q ¬ (p∧q) ¬p∨ ¬q


1 1 0 0 1 0 0
1 0 0 1 0 1 1
0 1 1 0 0 1 1
0 0 1 1 0 1 1

p q ¬p ¬q p∨q ¬ (p∨q) ¬p∧ ¬q


1 1 0 0 1 0 0
1 0 0 1 1 0 0
0 1 1 0 1 0 0
0 0 1 1 0 1 1

You might also like