GATE CS 2023 | Question 55

Discrete Mathematics › Graph Theory · MSQ · 2 marks · Answer: A, B

  1. Question 55Discrete Mathematicsmsq2 marks
    Greedy coloring assigns each the smallest color not used by its already-colored neighbours. is the maximum degree. Which statements are TRUE?
    • A.
      This procedure results in a proper vertex coloring.
      ✓
    • B.
      The number of colors used is at most Delta(G)+1.
      ✓
    • C.
      The number of colors used is at most Delta(G).
    • D.
      The number of colors used equals the chromatic number.

    Answer: A, B

    Solution

    Answer: (A) and (B) Greedy coloring never gives two adjacent vertices the same color -> proper coloring (A). A vertex has at most neighbours, so among colors at least one is free -> at most colors (B). It may use more than and more than the chromatic number (greedy is not optimal), so (C),(D) false.

More GATE PYQ on Graph Theory

All GATE CS Discrete Mathematics PYQ →

Attempt GATE CS 2023 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →