Exercise · ZW-CONNECTED-GRAPH-003 · ★☆☆ Basic

A graph with vertices \(1,\dots,6\) has edges \(12\), \(34\) and \(56\). How many connected components does it have?

Choose one option.

Show answer
  • C. 3

Explanation

Each edge joins a pair of vertices and the pairs \(\{1,2\}\), \(\{3,4\}\), \(\{5,6\}\) are not linked to each other: that makes 3 components.

Study Discrete mathematics in ZWMath →

Review the concept: Connected graph

A graph \(G=(V,E)\) is connected if any two vertices \(u,v\in V\) are joined by a path.

\[\forall\,u,v\in V\ \ \exists\ \text{path from } u \text{ to } v\]

More practice problems: connected graph

← ZW-CONNECTED-GRAPH-002 ZW-CONNECTED-GRAPH-004 →