Class Assignment-01 CSE 2213: Discrete Mathematics
Class Assignment-01 CSE 2213: Discrete Mathematics
NB: The numbers on the right of the questions denote their marks.
1. Let p and q be the following propositions.
p: You get caught cheating in an exam.
q: You get expelled.
Now write the following propositions using only p, q, and logical operators. 10
a. You will get expelled if you get caught cheating in an exam.
b. Whenever you get expelled, you get caught cheating in an exam.
c. You get caught cheating in an exam but you do not get expelled.
d. If you do not get expelled, then you do not get caught cheating in an exam.
e. You getting expelled is a necessary condition for you to get caught cheating in an exam.
5. Determine the truth values of the following propositions. Here, the domain of each variable consists
of all real numbers. 3
(i) n((-n+1)3=n3)
(ii) n(2n+n2=3n)
(iii) n ((-n)2=-n2)
6. Translate the following English sentences into logical expression using predicate, quantifiers and
logical connectives. Domain consists of all people. 3
P(x): x is a student of UIU
Q(x): x has learnt C and C++ programming
R(x): x is learning Python
It is not that every student in UIU has learnt C and C++ programming but some UIU students are
learning python.