Question
Official answer and solution
- Official answer
- 3
- From
- Official GATE 2018 answer key
Solution
Establish a lower bound from clique subgraphs and exhibit an explicit valid proper coloring.
The graph contains 6 vertices with 4 outer vertices and 2 inner vertices. Examining the subgraphs reveals triangles (3-cliques), such as the cycle formed by an outer vertex and its adjacent inner and outer neighbors. The presence of a implies that the chromatic number .
Let us check whether a 3-coloring is possible using colors :
- Assign color 1 to vertex and vertex .
- Assign color 2 to vertex and vertex .
- Assign color 3 to vertex and vertex .
Checking all edges confirms that no two adjacent vertices share the same color. Since the graph cannot be colored with 2 colors (it contains odd cycles) but can be colored with 3 colors, its chromatic number is 3.
3
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2018 Computer Science and Information Technology (CS)
- Question
- 28 of 65, printed as CS Q.18
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.