1If set has 10 elements, set has 15 elements, and the intersection has 5 elements, what is the cardinality of according to the Principle of Inclusion-Exclusion?
A.15
B.20
C.25
D.30
Correct Answer: 20
Explanation:Using the Principle of Inclusion-Exclusion: .
Incorrect! Try again.
2Which formula represents the Principle of Inclusion-Exclusion for three sets ?
A.
B.
C.
D.
Correct Answer:
Explanation:For three sets, we sum the individual sizes, subtract the sizes of pairwise intersections to remove double counting, and then add back the intersection of all three which was subtracted too many times.
Incorrect! Try again.
3In a group of 50 students, 30 take Math, 25 take Physics, and 15 take both. How many students take neither Math nor Physics?
A.5
B.10
C.15
D.20
Correct Answer: 10
Explanation:First find . The number taking neither is Total - .
Incorrect! Try again.
4How many positive integers not exceeding 100 are divisible by 2 or 3?
A.67
B.66
C.50
D.83
Correct Answer: 67
Explanation:Let be divisible by 2, by 3. , , . Result .
Incorrect! Try again.
5The Principle of Inclusion-Exclusion can be generalized to find the size of the union of sets. What is the sign of the term involving the intersection of sets?
A.Always positive
B.Always negative
C.
D.
Correct Answer:
Explanation:The formula adds singles (), subtracts pairs (), adds triples, etc. The sign is .
Incorrect! Try again.
6What is the minimum number of people required to guarantee that at least two of them share the same birthday month?
A.12
B.13
C.24
D.365
Correct Answer: 13
Explanation:By the Pigeonhole Principle, if months (pigeonholes) and we have people (pigeons), at least one month must contain 2 people.
Incorrect! Try again.
7State the Generalized Pigeonhole Principle: If objects are placed into boxes, then there is at least one box containing at least _____ objects.
A.
B.
C.
D.
Correct Answer:
Explanation:The generalized principle states one box must have at least the ceiling of objects.
Incorrect! Try again.
8If there are 4 different colors of socks in a drawer, what is the minimum number of socks one must pull out (blindly) to guarantee a matching pair?
A.4
B.5
C.8
D.9
Correct Answer: 5
Explanation:Here, the pigeonholes are the 4 colors. To ensure 2 socks (pigeons) fall into the same hole (color), we need socks.
Incorrect! Try again.
9A professor grades 25 students. The grades can be A, B, C, D, or F. What is the minimum number of students guaranteed to get the same grade?
10How many cards must be selected from a standard deck of 52 cards to guarantee that at least 3 cards of the same suit are chosen?
A.9
B.8
C.13
D.5
Correct Answer: 9
Explanation:There are 4 suits. To avoid having 3 of a suit, the max we can pull is 2 per suit: . The 9th card guarantees a 3rd card in one of the suits. Formula: .
Incorrect! Try again.
11Let be a relation on set . is reflexive if and only if:
A.
B.For all
C.For all
D.
Correct Answer: For all
Explanation:Reflexivity requires every element to be related to itself.
Incorrect! Try again.
12Let . Which of the following relations is symmetric?
A.
B.
C.
D.
Correct Answer:
Explanation:A relation is symmetric if . In option C, pairs with , with , and with itself.
Incorrect! Try again.
13A relation is anti-symmetric if:
A.
B.
C.
D.It is not symmetric
Correct Answer:
Explanation:Anti-symmetry means no two distinct elements are related to each other in both directions.
Incorrect! Try again.
14Which relation on the set of integers is transitive?
A. if divides
B. if
C. if
D. if
Correct Answer: if divides
Explanation:If and , then . Thus, divisibility is transitive. The others fail transitivity.
Incorrect! Try again.
15How many binary relations are there on a set with elements?
A.
B.
C.
D.
Correct Answer:
Explanation:A relation is a subset of . The size of is . The number of subsets is .
Incorrect! Try again.
16How many reflexive relations are there on a set with elements?
A.
B.
C.
D.
Correct Answer:
Explanation:In a reflexive relation, the diagonal elements must be included. The remaining elements can be included or not. So, or .
Incorrect! Try again.
17If is a relation on set , the inverse relation is defined as:
A.
B.
C.
D.
Correct Answer:
Explanation:The inverse relation simply swaps the order of the ordered pairs in .
Incorrect! Try again.
18Let and be relations on . What is the composition ?
A.
B.
C.
D.
Correct Answer:
Explanation:.
and .
and .
Incorrect! Try again.
19If relation is represented by matrix and relation by , the matrix representing is:
A.
B. (Element-wise logical AND)
C. (Element-wise logical OR)
D.
Correct Answer: (Element-wise logical OR)
Explanation:Union of relations corresponds to the bitwise OR operation (join) on their zero-one matrices.
Incorrect! Try again.
20If is the zero-one matrix of a relation , how do we check if is symmetric?
A.All diagonal elements are 1
B. (Transpose)
C. has no zeros
D. is the Identity matrix
Correct Answer: (Transpose)
Explanation:A relation is symmetric if , which implies the matrix equals its transpose.
Incorrect! Try again.
21In the directed graph representation of a relation, a loop at vertex implies:
A.
B. for some
C.The relation is transitive
D.The relation is anti-symmetric
Correct Answer:
Explanation:A self-loop on a vertex represents the element being related to itself.
Incorrect! Try again.
22What is the matrix multiplication equivalent used to find the composition of relations ?
A.Standard arithmetic matrix multiplication
B.Boolean product (Logical AND then Logical OR)
C.Cross product
D.Element-wise multiplication
Correct Answer: Boolean product (Logical AND then Logical OR)
Explanation:The composition corresponds to the Boolean product of the matrices, where multiplication is replaced by AND, and addition is replaced by OR.
Incorrect! Try again.
23A relation is an Equivalence Relation if it is:
A.Reflexive, Symmetric, and Transitive
B.Reflexive, Anti-symmetric, and Transitive
C.Irreflexive, Symmetric, and Transitive
D.Reflexive and Symmetric only
Correct Answer: Reflexive, Symmetric, and Transitive
Explanation:This is the standard definition of an equivalence relation.
Incorrect! Try again.
24The set of all elements related to an element in an equivalence relation is called the:
A.Range of
B.Domain of
C.Equivalence Class
D.Partition of
Correct Answer: Equivalence Class
Explanation: is the equivalence class of .
Incorrect! Try again.
25Which of the following is an Equivalence Relation on the set of integers?
A. iff
B. iff is even
C. iff
D. iff
Correct Answer: iff is even
Explanation: is even if both are even or both are odd. This is equivalent to , which is an equivalence relation.
Incorrect! Try again.
26The equivalence classes of an equivalence relation on set form a:
A.Subset of
B.Power set of
C.Partition of
D.Cartesian product
Correct Answer: Partition of
Explanation:Equivalence classes are disjoint and their union is , forming a partition.
Incorrect! Try again.
27Let be the relation modulo 3 on integers: . How many distinct equivalence classes are there?
A.1
B.2
C.3
D.Infinite
Correct Answer: 3
Explanation:The classes are (remainders when divided by 3).
Incorrect! Try again.
28A relation is a Partial Ordering (POSET) if it is:
Explanation:Partial ordering is defined by Reflexivity, Anti-symmetry, and Transitivity.
Incorrect! Try again.
29In a POSET , two elements and are called comparable if:
A. or
B. and
C.
D.They belong to the same lattice
Correct Answer: or
Explanation:Elements are comparable if one precedes the other in the ordering.
Incorrect! Try again.
30A POSET where every pair of elements is comparable is called a:
A.Lattice
B.Equivalence Relation
C.Total Ordering (or Chain)
D.Well-ordered set
Correct Answer: Total Ordering (or Chain)
Explanation:If every pair is comparable, the ordering is 'total' or linear.
Incorrect! Try again.
31In a Hasse diagram, the edges implied by _____ are removed to simplify the graph.
A.Symmetry
B.Anti-symmetry
C.Transitivity and Reflexivity
D.Connectivity
Correct Answer: Transitivity and Reflexivity
Explanation:Hasse diagrams do not draw self-loops (reflexivity) or edges implied by transitivity.
Incorrect! Try again.
32Consider the POSET where denotes divisibility. Which element is the maximal element?
A.1
B.2
C.4
D.8
Correct Answer: 8
Explanation:8 divides no other element in the set, making it maximal (actually the greatest element).
Incorrect! Try again.
33An element in a POSET is minimal if:
A.There is no such that and
B.There is no such that
C. for all
D. for all
Correct Answer: There is no such that and
Explanation:Minimal means nothing strictly precedes it.
Incorrect! Try again.
34What is the difference between a maximal element and a greatest element?
A.They are the same.
B.Greatest is unique and succeeds all others; Maximal has no successors but might not be unique.
C.Maximal succeeds all others; Greatest has no successors.
D.Maximal only exists in total orderings.
Correct Answer: Greatest is unique and succeeds all others; Maximal has no successors but might not be unique.
Explanation:A greatest element must be comparable to (and greater than) everything. A maximal element just needs to have nothing greater than it.
Incorrect! Try again.
35A Lattice is a POSET in which every pair of elements has:
A.A least upper bound (LUB) and a greatest lower bound (GLB)
B.A maximal and minimal element
C.An inverse
D.Equal rank
Correct Answer: A least upper bound (LUB) and a greatest lower bound (GLB)
Explanation:This is the defining property of a lattice.
Incorrect! Try again.
36In the lattice (Power set under inclusion), what is the LUB of two sets and ?
A.
B.
C.
D.
Correct Answer:
Explanation:The smallest set containing both and is their union.
Incorrect! Try again.
37In the lattice (positive integers under divisibility), what is the GLB of two numbers and ?
A.
B.
C.
D.
Correct Answer:
Explanation:The greatest lower bound under divisibility is the Greatest Common Divisor.
Incorrect! Try again.
38A sublattice of a lattice must:
A.Be a subset of
B.Be closed under the LUB () and GLB () operations of
C.Have the same greatest element as
D.Be a finite subset
Correct Answer: Be closed under the LUB () and GLB () operations of
Explanation:Just being a subset isn't enough; the join and meet of any two elements in must result in an element that is also in .
Incorrect! Try again.
39A lattice is bounded if it has:
A.Finite number of elements
B.A greatest element (1) and a least element (0)
C.No infinite chains
D.At least one comparable pair
Correct Answer: A greatest element (1) and a least element (0)
Explanation:A bounded lattice must have a top (1) and bottom (0) element.
Incorrect! Try again.
40A lattice is called distributive if:
A. for all
B.
C.It contains a complement for every element
D.It is a total ordering
Correct Answer: for all
Explanation:This is the distributive law for lattices.
Incorrect! Try again.
41In a Hasse diagram, if vertex is drawn higher than vertex and there is a line connecting them (possibly through other vertices), it implies:
A.
B.
C. and are incomparable
D.
Correct Answer:
Explanation:Hasse diagrams are drawn upward, so higher elements are 'greater' in the ordering.
Incorrect! Try again.
42Let on . Is a partial ordering?
A.Yes
B.No, it is not reflexive
C.No, it is not anti-symmetric
D.No, it is not transitive
Correct Answer: Yes
Explanation:It is reflexive (all diagonals present), transitive (trivial), and anti-symmetric (only exists, does not).
Incorrect! Try again.
43Which of the following describes the closure of a relation with respect to property ?
A.The smallest relation containing that has property
B.The largest relation contained in that has property
C.The intersection of all relations having property
D.The relation itself
Correct Answer: The smallest relation containing that has property
Explanation:Closure is adding the minimum necessary edges to satisfy a property (like transitivity).
Incorrect! Try again.
44The transitive closure of a relation is often denoted as:
A.
B.
C.
D.
Correct Answer:
Explanation: typically denotes the connectivity relation or transitive closure.
Incorrect! Try again.
45If is a relation on represented by matrix , the matrix for the reflexive closure of is calculated by:
A. (where is Identity matrix)
B.
C.
D.
Correct Answer: (where is Identity matrix)
Explanation:Reflexive closure requires adding diagonal elements (1s), which is done by OR-ing with the Identity matrix.
Incorrect! Try again.
46A set is Well-Ordered if:
A.It is a total ordering and every non-empty subset has a least element
B.It is a partial ordering with a maximal element
C.It is infinite
D.It has no minimal element
Correct Answer: It is a total ordering and every non-empty subset has a least element
Explanation:This is the definition of a well-ordered set (e.g., Natural numbers).
Incorrect! Try again.
47In the context of the Pigeonhole Principle, if 101 integers are selected from the set , at least one selected integer must:
A.Divide another selected integer
B.Be equal to 100
C.Be prime
D.Be odd
Correct Answer: Divide another selected integer
Explanation:This is a classic PHP problem. Every integer can be written as where is odd. Since there are only 100 odd numbers in the range, choosing 101 ensures two numbers share the same odd part, meaning one divides the other.
Incorrect! Try again.
48For a relation to be irreflexive, it must satisfy:
A.
B.
C.
D.It is not symmetric
Correct Answer:
Explanation:Irreflexive means NO element is related to itself (diagonal is all zeros).
Incorrect! Try again.
49Which of the following Hasse diagrams represents a totally ordered set (chain)?
A.A vertical line of nodes
B.Two parallel vertical lines
C.A diamond shape
D.A single node with a loop
Correct Answer: A vertical line of nodes
Explanation:In a total order, every element is comparable, forming a single vertical chain in the diagram.
Incorrect! Try again.
50Let . Let . What are the equivalence classes?
A.
B.
C.
D. is not an equivalence relation
Correct Answer:
Explanation: is related to , and to . They form one class. is only related to itself.