Professional Documents
Culture Documents
INSTITUTE
DEPARTMENT OF COMPUTER SCIENCE AND
ENGINEERING
ASSIGNMENT
DISCRETE MATHEMATICS
CS1831
UNIT3
PROPOSITIONAL LOGIC
SUBMITTED TO:- SUBMITTED BY:-
PROF.USHA TIGGA AASTHA YADAV
CSE-A
0108CS211005
INDEX
S.no. Topic Date Page no. Remark
1
Let p be “It is cold”
and let q be “It is
raining”. Give a
simple verbal
sentence which
describes each of
the following
statements:
a. ~ p
b. p^q
c. p∨q
d. q∨~p
e. p ↔ q
f. p → q
2
Prove the truth table of
~p^q.
8
Let A=(1,2,3,4,5)
Determine the truth
table of each of the
following statements:
a. (∃x ∈A)(x+3=10)
b. (∀x ∈A)(x+3<10)
c. (∃x ∈A)(X+3<5)
d. (∀x ∈A)(x+3<=7)
9
Give Direct Proof of the
statement, “The product
of the two odd integers is
odd”.
10 Give Contraposition
(Indirect Proof) of the
statement, “If 3n+2 is
odd, then n is odd
11 Give Proof by
Contradiction of the
statement, √2 is irrational
Number.
QUESTIONS
1. Let p be “It is cold” and let q be “It is raining”. Give a simple verbal
sentence which describes each of the following statements:
a. ~ p
b. p^q
c. p∨q
d. q∨~p
e. p ↔ q
f. p → q
ANS:- Verbal sentences
a.)It is not cold.
b.)It is cold and it is raining.
c.) It is cold or it is raining.
d.)It is raining or it is not cold.
e.)It is cold if and only if it is raining.
f.)If it is cold, then it will raining.
2. Prove the truth table of ~p^q.
ANS:-
P ~P q ~p^q.
T F T F
T F F F
F T T T
F T F F