4 - Assignment02
4 - Assignment02
Abbottabad
Question # 1 Marks =4
Determine whether each sentence is a proposition or not (For yes fill the cell with Blue color and for no fill
the cell with red color)
Sentence Proposition
Yes No
2+5 = 19
Waiter, will you serve the nuts – I mean, would you serve the guest the nuts?
Peel me a grape.
Abbottabad
Question # 3 Marks = 4
Given that proposition p is false, proposition q is true, and proposition r is false, determine whether each
proposition is true or false(For true value fill the cell with Blue color and for false value fill the cell with red
color)
Proposition Truth value
of Proposition
True False
pvq
~p v ~q
~p v q
~p v ~(q ^ r)
~(p v q) ^(~p v r)
~p v ~(q ^ r) ^(~p v q)
Abbottabad
Question # 4 Marks =6
Write the truth table of each proposition
1. ~(p ^ q) v(~q v r)
p q r ~q (p ^ q) ~(p ^ q) (~q v r) ~(p ^ q) v(~q v r)
F F F
F F T
F T F
F T T
T F F
T F T
T T F
T T T
2. (p^q) ^(~p v r)
p q r ~P (p ^ q) (~P v r) (p^q) ^(~p v r)
F F F
F F T
F T F
F T T
T F F
T F T
T T F
T T T
F F F
F F T
F T F
F T T
T F F
T F T
T T F
T T T
Question # 5 Marks = 4
COMSATS Institute of Information Technology
Abbottabad
Proposition In words
(Expression)
~p ^ (q v r)
~( p v q) ^r
(p ^ q) ^ ~(r v p)
( p ^ q) v~r