GATE 2004
199 questions
MCQ 1991-mark 199
Questions 16–20 of 199
Consider the binary relation:
S = {(x, y)|y = x + 1 and x, y {0, 1, 2,...}}
The reflexive transitive closure of S is
S = {(x, y)|y = x + 1 and x, y {0, 1, 2,...}}
The reflexive transitive closure of S is
Answer: (B)
S relates each number to the next one: .
Transitive closure: chain the pairs . Each step is in S, so is in the closure for every . No pair with can appear, because every pair of S moves up by 1.
Reflexive closure: add for every . This makes the relation .
Option (A) is only the transitive closure, because it leaves out . Options (C) and (D) point the wrong way.
Answer: (B)
Transitive closure: chain the pairs . Each step is in S, so is in the closure for every . No pair with can appear, because every pair of S moves up by 1.
Reflexive closure: add for every . This makes the relation .
Option (A) is only the transitive closure, because it leaves out . Options (C) and (D) point the wrong way.
Answer: (B)
The inclusion of which of the following sets into
S = {{1, 2}, {1, 2, 3}, {1, 3, 5}, {1, 2, 4}, {1, 2, 3, 4, 5}}
is necessary and sufficient to make S a complete lattice under the partial order defined by set containment?
S = {{1, 2}, {1, 2, 3}, {1, 3, 5}, {1, 2, 4}, {1, 2, 3, 4, 5}}
is necessary and sufficient to make S a complete lattice under the partial order defined by set containment?
Answer: (A)
S is a finite poset under . A finite poset is a complete lattice when it has a top element, a bottom element, and every pair of elements has a join (least upper bound in S) and a meet (greatest lower bound in S). These are taken inside S, so they need not be the plain union or intersection. For example, is not in S.
Write , the top of S.
Joins: for each incomparable pair, the only upper bound in S is . For and , an upper bound must contain . For with any of , , , it must contain or more. Only qualifies, so it is the join. Comparable pairs have the larger set as join. So all joins exist.
Meets: the only set in S inside is itself, and the only set inside is itself. So these two have no common lower bound in S and no meet. S is not a lattice as it stands.
Why : any set X added to fix this must lie below both and , so . So X is (the empty set would also work, but no option adds it). Every option contains ; the question is which one adds nothing more.
Sufficient: with added, it is the bottom element. The remaining meets: and have meet ; with each of , , has meet . All other pairs are comparable. With a top, a bottom and all joins and meets, this finite lattice is complete.
Other options: in (B), the added set and have no meet, since the common subset is not in S, so it is not a lattice. (C) and (D) also add sets besides , which are not needed.
Answer: (A)
Write , the top of S.
Joins: for each incomparable pair, the only upper bound in S is . For and , an upper bound must contain . For with any of , , , it must contain or more. Only qualifies, so it is the join. Comparable pairs have the larger set as join. So all joins exist.
Meets: the only set in S inside is itself, and the only set inside is itself. So these two have no common lower bound in S and no meet. S is not a lattice as it stands.
Why : any set X added to fix this must lie below both and , so . So X is (the empty set would also work, but no option adds it). Every option contains ; the question is which one adds nothing more.
Sufficient: with added, it is the bottom element. The remaining meets: and have meet ; with each of , , has meet . All other pairs are comparable. With a top, a bottom and all joins and meets, this finite lattice is complete.
Other options: in (B), the added set and have no meet, since the common subset is not in S, so it is not a lattice. (C) and (D) also add sets besides , which are not needed.
Answer: (A)
The following is the incomplete operation table of a 4-element group.
The last row of the table is
The last row of the table is
Answer: (D)
A group of order 4 is abelian (a group of prime-square order is abelian). So the table is symmetric: the entry in row and column equals the entry in row and column . The rows and columns of the table also each contain every element exactly once.
Last row (row ):
- , since is the identity.
- , from the symmetry and the entry in row .
- and must be and in some order, since column already has and . The row of already has and , so .
- The one value left in the row is .
So the last row is , that is ceab.
Answer: (D)
What is the number of vertices in an undirected connected graph with 27 edges, 6 vertices of degree 2, 3 vertices of degree 4 and remaining of degree 3?
Answer: (D)
The total of the degrees of all vertices the number of edges.
So the number of vertices
The correct answer is (D).
What is the maximum number of edges in an acyclic undirected graph with n vertices?
Answer: (A)
An acyclic undirected graph is a forest. Each of its components is a tree, and a tree with vertices has edges. So the whole graph has edges.
This is largest when , that is, when the graph is one tree (a spanning tree). Then the number of edges is . Adding any edge to a tree creates a cycle, so no acyclic graph can have more.
Answer: (A)
This is largest when , that is, when the graph is one tree (a spanning tree). Then the number of edges is . Adding any edge to a tree creates a cycle, so no acyclic graph can have more.
Answer: (A)