222CPE Mid1 AK
222CPE Mid1 AK
222CPE Mid1 AK
Signature of
Head of the Department
Subject Coordinator
1
5. Let p and q be the propositions
p :You will get first in the class
q :You do all problems in the book
then sentence ‘You will get first in the class if and only if You do all problems in the book’
in symbol form is
(a) p → q (b) p ^ q (c) p ^ ¬ q (d) p ↔ q
6. In the Fig 1 given below, f1 is __
Fig 1
(a) only relation and not function (b) only function and not relation
(c) both relation and function (d) not relation and not function
2
2. Draw Venn diagrams (a) (A U B) ∩ C’ (b) A U B – (A ∩ B)
domain = {1,2,3,4}
range={3,5,7,9}
3
4. Express the sentence using predicate logic
(a) All students are smart
(b) Ali take project only if he take summer training
5. Using prepositional logic convert the sentence into symbolic form generate truth table
Ali is math teacher but not computer teacher