Question
Official answer and solution
- Official answer
- 2
- From
- Official GATE 2024 answer key
Solution
Label the 8 vertices clockwise around the octagon and observe that every edge connects an even-indexed vertex to an odd-indexed vertex.
Label the vertices clockwise around the outer octagon as (with at the top, on the right, at the bottom, and on the left). Partition the vertices into two sets by index parity:
Inspecting all edges of the graph:
- The outer cycle edges each connect an even index to an odd index.
- The vertical chords are and (even to odd).
- The horizontal chords are and (odd to even).
- The diagonal chords are (even to odd).
Since every edge has one endpoint in and one endpoint in , the graph is bipartite (in fact, it is isomorphic to ). Because it has at least one edge, its chromatic number is .
2
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2024 Computer Science and Information Technology - Set 2 (CS2)
- Question
- 60 of 65
- 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.