GATE CS 2022 | Question 52

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

  1. Question 52Discrete Mathematicsmsq2 marks
    Which properties hold for the adjacency matrix of a simple undirected unweighted graph with vertices?
    • A.
      The diagonal entries of are the degrees of the vertices.
      ✓
    • B.
      If the graph is connected, then no entry of can be zero.
    • C.
      If the sum of all elements of is at most , then the graph must be acyclic.
    • D.
      If there is at least a 1 in each row and column of , then the graph must be connected.

    Answer: A

    Solution

    Answer: (A) - (A) - the diagonal of gives the degrees. TRUE. - (B) FALSE: counts walks of length exactly ; in a connected bipartite graph some vertex pairs have no walk of that exact length (parity), so entries of can be zero. - (C) FALSE: sum means at most edges, but the graph can still contain a cycle (in one component while another part is disconnected). - (D) FALSE: a 1 in every row and column only rules out isolated vertices; the graph can still be disconnected (e.g. two separate edges).

More GATE PYQ on Graph Theory

All GATE CS Discrete Mathematics PYQ →

Attempt GATE CS 2022 in real GATE exam mode

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

Create free account →