Question # 1: Formulate The Symbolic Expression (
Question # 1: Formulate The Symbolic Expression (
p =: Today is Holiday
q =: It is raining
r =: We should study.
Solution:
Question # 2: Check the validity of the following argument form using truth table:
pq
pq
p
Solution:
p q pq pq p
F F T F F
F T T T F
T F F T T
T T T T T
Row 2 and 4 are critical rows, in second row conclusion is false so it is an invalid argument.
Solution:
X Y Z X Y ~Z X Y ~ Z ~ X Y ~ Z
0 0 0 0 1 1 0
0 0 1 0 0 0 1
0 1 0 0 1 1 0
0 1 1 0 0 0 1
1 0 0 0 1 1 0
1 0 1 0 0 0 1
1 1 0 1 1 1 0
1 1 1 1 0 1 0
Question # 4: Construct a truth table to determine whether the following statement is logically
equivalent or not:
p q r and p q r .
Solution:
p q r pq p q r qr p q r
F F F F F F F
F F T F T T F
F T F F F T F
F T T F T T F
T F F F F F F
T F T F T T T
T T F T T T T
T T T T T T T
Solution:
~ ~ p q ~ p ~ q p q ~ ~ p q ~ q p q Distributive Law
~ ~ p t p q Negation Law
~ ~ p p q Identity Law
p p q Double Negation Law
p Absorption Law
Solution:
Inputs Output
p q ( p v q) r ~ ( p v q) s
1 1 1 0
1 0 1 0
0 1 1 0
0 0 0 1