1.
|
Which one of the following problem
types does inclusion-exclusion principle belong to?
a) Numerical problems
b) Graph problems
c) String processing problems
d) Combinatorial problems
Answer: d
Explanation: Inclusion-Exclusion principle is a kind of combinatorial
problem. It is a counting technique to obtain the number of elements present
in sets( two, three , etc.,).
|
D
|
2.
|
Which of the following is a
correct representation of inclusion exclusion principle (|A,B| represents
intersection of sets A,B)?
a) |A U B|=|A|+|B|-|A,B|
b) |A,B|=|A|+|B|-|A U B|
c) |A U B|=|A|+|B|+|A,B|
d) |A,B|=|A|+|B|+|A U B|
Answer: a
Explanation: The formula for computing the union of two sets according to
inclusion-exclusion principle is |A U B|=|A|+|B|-|A,B| where |A,B| represents
the intersection of the sets A and B.
|
A
|
7.
|
With reference to the given Venn diagram, what is the
formula for computing |AUBUC| (where |x, y| represents intersection of sets x
and y)?

a) |A U B U C|=|A|+|B|+|C|-|A,B|-|A,C|-|B,C|+|A, B,C|
b) |A, B,C|=|A|+|B|+|C|-|A U B|-|A U C|-|B U C|+|A U B U C|
c) |A, B,C|=|A|+|B|+|C|+|A,B|-|A,C|+|B,C|+|A U B U C|
d) |A U B U C|=|A|+|B|+|C| + |A,B| + |A,C| + |B,C|+|A, B,C|
Answer: a
Explanation: The formula for computing the union of three sets using
inclusion-exclusion principle is|A U B U C|=|A|+|B|+|C|-|A,B|-|A,C|-|B,C|+|A,
B,C| where |A,B|, |B,C|, |A,C|, |A,B,C| represents the intersection of the
sets A and B, B and C, A and C, A, B and C respectively.
|
A
|
10.
|
Using the inclusion-exclusion
principle, find the number of integers from a set of 1-100 that are not
divisible by 2, 3 and 5.
a) 22
b) 25
c) 26
d) 33
Answer: c
Explanation: Consider sample space S={1,…100}. Consider three subsets A, B, C
that have elements that are divisible by 2, 3, 5 respectively. Find integers
that are divisible by A and B, B and C, A and C. Then find the integers that
are divisible by A, B, C. Applying the inclusion-exclusion principle, 100 −
(50 + 33 + 20) + (16 + 10 + 6) − 3 = 26.
|
C
|
No comments:
Post a Comment