GATE 2005
203 questions
MCQ 2031-mark 203
Questions 11–15 of 203
Let A, B and C be non-empty sets and let
X = (A - B) - C and Y = (A - C) - (B - C)
Which one of the following is TRUE?
X = (A - B) - C and Y = (A - C) - (B - C)
Which one of the following is TRUE?
Answer: (A)
The numbers 1 to 8 label the regions of the Venn diagram: , , .
, so .
and , so .
So . In general both are the elements that are in but in neither nor : .
Answer: (A)
Let R and S be any two equivalence relations on a non-empty set A. Which one of the following statements is TRUE?
Answer: (C)
Union can fail. Let . Let have classes and have classes . Both are equivalence relations. contains (from ) and (from ), but not . So it is not transitive, and options (A) and (B) are wrong.
Intersection always works. Take .
Reflexive: is in both and , so it is in the intersection.
Symmetric: if is in both, then is in both.
Transitive: if and are in both, then is in both, because each of and is transitive.
So is always an equivalence relation, and (D) is wrong.
Answer: (C)
Intersection always works. Take .
Reflexive: is in both and , so it is in the intersection.
Symmetric: if is in both, then is in both.
Transitive: if and are in both, then is in both, because each of and is transitive.
So is always an equivalence relation, and (D) is wrong.
Answer: (C)
Let be a function from a set A to a set B, a function from B to C, and a function from A to C, such that for all . Which of the following statements is always true for all such functions and ?
Answer: (C)
Here . Assume is onto C. Take any . Then some has . So is an element of B with . Every c has a preimage under g, so is onto. This proves (C).
The other options fail:
- (A): take , , , and g the identity. g is onto, but reaches only , so it is not onto.
- (B) and (D): take , , , , and . Then h is onto but f is not onto (it misses ).
Answer: (C)
The other options fail:
- (A): take , , , and g the identity. g is onto, but reaches only , so it is not onto.
- (B) and (D): take , , , , and . Then h is onto but f is not onto (it misses ).
Answer: (C)
Let f: B C and g: A B be two functions and let h = fg. Given that h is an onto function which one of the following is TRUE?
Answer: (B)
Here is onto C. We show that need not be onto, but must be.
Take this example:
( in has no element of mapped to it, so is not onto)
Here is onto C but is not onto B. So (A), (D) and (C) fail.
has to be onto. Every value of has the form , so it lies in the range of . An element of C that is outside the range of cannot be in the range of . So if h is onto, all of C is in the range of f.
Answer: (B)
Take this example:
( in has no element of mapped to it, so is not onto)
Here is onto C but is not onto B. So (A), (D) and (C) fail.
has to be onto. Every value of has the form , so it lies in the range of . An element of C that is outside the range of cannot be in the range of . So if h is onto, all of C is in the range of f.
Answer: (B)
The following is the Hasse diagram of the poset [{a,b,c,d,e}, ]
The poset is:
The poset is:
Answer: (B)
In the diagram a is the top, e is the bottom, and b, c, d are in the middle with no order between them.
Lattice: for two different middle elements, such as b and c, the least upper bound is and the greatest lower bound is . If one element is a or e, the join or meet is just the larger or smaller of the pair. So every pair has a lub and a glb, and the poset is a lattice.
Not distributive: , but . Also, in a distributive lattice each element has at most one complement, but here b, c and d are complements of one another (for example and ), so b has two complements.
A Boolean algebra must be distributive, so it is not one. So the poset is a lattice but not a distributive lattice.
Answer: (B)
Lattice: for two different middle elements, such as b and c, the least upper bound is and the greatest lower bound is . If one element is a or e, the join or meet is just the larger or smaller of the pair. So every pair has a lub and a glb, and the poset is a lattice.
Not distributive: , but . Also, in a distributive lattice each element has at most one complement, but here b, c and d are complements of one another (for example and ), so b has two complements.
A Boolean algebra must be distributive, so it is not one. So the poset is a lattice but not a distributive lattice.
Answer: (B)