GATE 2012
82 questions
MCQ 821-mark 39 · 2-mark 43
Questions 6–10 of 82
How many onto (or surjective) functions are there from an n-element ( ) set to a 2-element set?
Answer: (C)
Count every function into the set {a, b}: . Take away the 2 constant functions (everything goes to a, or everything goes to b), because they are not onto.
Answer:
Answer:
Let G be a complete undirected graph on 6 vertices. If vertices of G are labeled, then the number of distinct cycles of length 4 in G is equal to
Answer: (B)
First pick 4 vertices out of 6: . Any 4 labelled vertices give distinct cycles of length 4.
Total cycles: 15 3 = 45
Answer: 45
Total cycles: 15 3 = 45
Answer: 45
Which of the following graphs is isomorphic to
Answer: (B)
The given graph has 8 vertices and 8 edges. It has exactly one cycle, of length 5. On this cycle there is a vertex of degree 4, which carries a pendant vertex and a path of length 2.
- A has a 3-cycle and D has a 4-cycle so they are not isomorphic to the given graph.
- C has a 5-cycle, but it has no vertex of degree 4.
- B matches. It has a 5-cycle (closed by the long arc). Its degree-4 vertex carries one leaf and a path of 2 edges.
Answer: B
- A has a 3-cycle and D has a 4-cycle so they are not isomorphic to the given graph.
- C has a 5-cycle, but it has no vertex of degree 4.
- B matches. It has a 5-cycle (closed by the long arc). Its degree-4 vertex carries one leaf and a path of 2 edges.
Answer: B
Let G be a simple undirected planar graph on 10 vertices with 15 edges. If G is a connected graph, then the number of bounded faces in any embedding of G on the plane is equal to
Answer: (D)
Use Euler's formula: f = e v + 2. Put in the values: 15 10 + 2 = 7 faces. This count also includes the one unbounded outer face.
So the bounded faces = 7 1 = 6
Answer: 6
So the bounded faces = 7 1 = 6
Answer: 6
Suppose a fair six-sided die is rolled once. If the value on the die is 1, 2, or 3, the die is rolled a second time. What is the probability that the sum total of values that turn up is at least 6?
Answer: (B)
Go through each case:
- First roll 4 or 5: there is no second roll, so the sum is 6. First roll 6: success, probability 1/6.
- First roll 1: second roll must be 5 (2/6). First roll 2: it must be 4 (3/6). First roll 3: it must be 3 (4/6).
Answer: 5/12
- First roll 4 or 5: there is no second roll, so the sum is 6. First roll 6: success, probability 1/6.
- First roll 1: second roll must be 5 (2/6). First roll 2: it must be 4 (3/6). First roll 3: it must be 3 (4/6).
Answer: 5/12