GATE 2004
199 questions
MCQ 1991-mark 199
Questions 21–25 of 199
Let G1=(V, E1) and G2=(V, E2) be connected graphs on the same vertex set V with more than two vertices. If G1G2 = (V, E1E2) is not a connected graph, then the graph G1G2 = (V, E1E2)
Answer: (B)
Why B must hold. Since is connected but is not, has an edge e = (a, b) that is not in (if all of were in , the intersection would equal and be connected). Now is connected, so it has a path from a to b, and that path does not use e because e is not in . This path together with e is a cycle in . So the union must have a cycle.
The other options can fail. Take with edges AB, AC, BD and with edges AB, AC, CD (both trees):
Their intersection (AB, AC) leaves D alone, so it is disconnected. Their union is the 4-cycle A-B-D-C.
- C fails: a 4-cycle has no cut-edge.
- D fails: the union and both trees all have chromatic number 2.
- A fails: add a vertex E joined to A in both graphs. The intersection is still disconnected (D is alone), but in the union A is a cut vertex.
Answer: (B)
The other options can fail. Take with edges AB, AC, BD and with edges AB, AC, CD (both trees):
Their intersection (AB, AC) leaves D alone, so it is disconnected. Their union is the 4-cycle A-B-D-C.
- C fails: a 4-cycle has no cut-edge.
- D fails: the union and both trees all have chromatic number 2.
- A fails: add a vertex E joined to A in both graphs. The intersection is still disconnected (D is alone), but in the union A is a cut vertex.
Answer: (B)
How many graphs on n labeled vertices exist which have at least edges ?
Answer: (D)
Take
The most edges a simple graph on labeled vertices can have is . A graph with exactly edges is a choice of of these possible edges, so there are such graphs.
The smallest number of edges allowed is . So the number of graphs with at least edges is:
Use :
Since :
Answer: (D)
The most edges a simple graph on labeled vertices can have is . A graph with exactly edges is a choice of of these possible edges, so there are such graphs.
The smallest number of edges allowed is . So the number of graphs with at least edges is:
Use :
Since :
Answer: (D)
The minimum number of colours required to colour the following graph, such that no two adjacent vertices are assigned the same colour, is
Answer: (C)
4 colours are enough. One colouring is shown: the top and bottom vertices get one colour, the left and right vertices a second colour, the upper-left and lower-right inner vertices a third colour, and the upper-right and lower-left inner vertices a fourth colour.
3 colours are not enough. The top vertex and the two upper inner vertices form a triangle, so give them colours 1, 2, 3 (top 1, upper-left 2, upper-right 3).
- The left vertex is adjacent to top (1) and upper-left (2), so it must be 3.
- The right vertex is adjacent to top (1) and upper-right (3), so it must be 2.
- The lower-left inner vertex is adjacent to upper-left (2) and left (3), so it must be 1.
- The lower-right inner vertex is adjacent to upper-right (3), right (2) and lower-left (1), so no colour from 1, 2, 3 is left.
So at least 4 colours are needed.
Answer: (C)
3 colours are not enough. The top vertex and the two upper inner vertices form a triangle, so give them colours 1, 2, 3 (top 1, upper-left 2, upper-right 3).
- The left vertex is adjacent to top (1) and upper-left (2), so it must be 3.
- The right vertex is adjacent to top (1) and upper-right (3), so it must be 2.
- The lower-left inner vertex is adjacent to upper-left (2) and left (3), so it must be 1.
- The lower-right inner vertex is adjacent to upper-right (3), right (2) and lower-left (1), so no colour from 1, 2, 3 is left.
So at least 4 colours are needed.
Answer: (C)
In how many ways can we distribute 5 distinct balls, in 5 distinct cells, such that Ball is not in cell and each cell contains exactly one ball?
Answer: (A)
This is counting derangements of 5 items: arrangements where no ball is in its own cell . Count all arrangements, then remove those with at least one ball in its own cell, using inclusion and exclusion.
Let be the set of arrangements with in .
- One fixed ball: , since the other 4 balls go in the other 4 cells in any order. There are 5 such sets.
- Two fixed balls: , with pairs.
- Three fixed: , with triples. Four fixed: , with choices. Five fixed: , with choice.
Arrangements with at least one ball in its own cell:
Derangements .
Answer: (A)
Let be the set of arrangements with in .
- One fixed ball: , since the other 4 balls go in the other 4 cells in any order. There are 5 such sets.
- Two fixed balls: , with pairs.
- Three fixed: , with triples. Four fixed: , with choices. Five fixed: , with choice.
Arrangements with at least one ball in its own cell:
Derangements .
Answer: (A)
Mala has a colouring book in which each English letter is drawn two times. She wants to paint each of these 52 prints with one of k colours, such that he colour pairs used to colour any two letters are different. Both prints of a letter can also be coloured with the same colour. What is the minimum value of k that satisfies this requirement?
Answer: (C)
Each letter has two prints, so it gets a pair of colours. The pair can have the same colour twice. No two letters may use the same pair of colours, and the order inside a pair does not matter.
With k colours the possible pairs are:
- same colour twice: k pairs
- two different colours: pairs
Total: .
There are 26 letters, so we need
.
For : , which gives only 21 pairs, not enough.
For : , which gives 28 pairs, enough.
So the minimum is .
Answer: (C)
With k colours the possible pairs are:
- same colour twice: k pairs
- two different colours: pairs
Total: .
There are 26 letters, so we need
.
For : , which gives only 21 pairs, not enough.
For : , which gives 28 pairs, enough.
So the minimum is .
Answer: (C)