Logic and Sets MCQ
Logic and Sets MCQ
COMPUTER SCIENCE
1
What is the Cardinality of the Power set of the set {0, 1, 2}. a
Q7
a) 8 b) 6
c) 7 d) 9
Q8 If A is any statement, then which of the following is not a b
contradiction?
a) A ∨ ¬A b) A ∨ F
c) A ∧ F d) None of mentioned
Q9 Let P: I am in Bangalore. , Q: I love cricket. ; then q -> p(q a
implies p) is:
a) If I love cricket then I am in Bangalore
b) If I am in Bangalore then I love cricket
c) I am not in Bangalore
d) I love cricket
The shaded area of figure is best described by b
Q 10
a) A‘ (Complement of A)
b) A U B -B
c) A ∩ B
d) B
Which of the following statements is the negation of the c
Q 11 statements “4 is odd or -9 is positive” ?
a) 4 is even or -9 is not negative
b) 4 is odd or -9 is not negative
c) 4 is even and -9 is negative
d) 4 is odd and -9 is not negative
The contrapositive of p → q is the proposition: b
Q 12 a) ¬p → ¬q b) ¬q → ¬p
c) q → p d) ¬q → p
Q 13 The difference of {1, 2, 3} and {1, 2, 5} is the set c
a) {1} b) {5}
c) {3} d) {2}
Q 14 (p → q) ∧ (p → r) is logically equivalent to: a
a) p → (q ∧ r) b) p → (q ∨ r)
c) p ∧ (q ∨ r) d) p ∨ (q ∧ r)
Q 15 In which of the following sets A- B is equal to B – A c
a) A= {1, 2, 3}, B ={2, 3, 4}
b) A= {1, 2, 3}, B ={1, 2, 3, 4}
c) A={1, 2, 3}, B ={2, 3, 1}
d) A={1, 2, 3, 4, 5, 6}, B ={2, 3, 4, 5, 1}
Q 16 If set A and B have 3 and 4 elements respectively then the number d
of subsets of set (A X B) is
a) 1024 b) 2048
c) 512 d) 4096
2
Q 17 The complement of the set A is _____________ b
a) A – B b) U – A
c) A – U d) B – A
Q 18 What are the inverse of the conditional statement “ A positive c
integer is a composite only if it has divisors other than 1 and
itself.”
a) “A positive integer is a composite if it has divisors other than 1
and itself.”
b) “If a positive integer has no divisors other than 1 and itself,
then it is not composite.”
c) “If a positive integer is not composite, then it has no divisors
other than 1 and itself.”
d) None of the mentioned
Q 19 Let P: I am in Delhi. , Q: Delhi is clean. ; then q ^ p(q and p) is: a
a) Delhi is clean and I am in Delhi
b) Delhi is not clean or I am in Delhi
c) I am in Delhi and Delhi is not clean
d) Delhi is clean but I am in Mumbai
Q 20 What rules of inference are used in this argument? a
“All students in this science class has taken a course in physics”
and “Marry is a student in this class” imply the conclusion
“Marry has taken a course in physics.”
a) Universal instantiation
b) Universal generalization
c) Existential instantiation
d) Existential generalization
n(B)=?
Q5
3
Section C - True/False
Q1 (A U B)’ = A’ ∩ B ’ T
Q2 The Union of Empty set and Universal set is the Universal set T
T
Q3 The compound statement A v ~(A ∧ B) is always
F
Q5 If C = {1} then C X (C X C) = (C X C) X C the given statement is