A clique in a simple undirected graph is a complete subgraph that is not contained in any larger complete subgraph. How many cliques are there in the graph shown below ?
A clique in a graph is a subset of vertices such that every two distinct vertices in the clique are adjacent. In simpler terms, a clique is a complete subgraph where each vertex connects directly to every other vertex in the subgraph. The task is to find all maximal cliques in the given graph. A maximal clique cannot be extended by including one more adjacent vertex, meaning it is not part of any larger clique.
Let's analyze the given graph:

From the image of the graph, we can identify the following cliques:
Each triangle mentioned is a maximal clique, as adding another vertex to any of these subgraphs would break the complete connectivity required for a clique.
Therefore, the total number of cliques in the graph is 5.
This matches with option 5, confirming that this is the correct answer.
A principal node is a
Which of the following statement(s) is/are correct regarding about the undirected graph?
I. Number of odd degree vertices is even.
II. Sum of degrees of all vertices is even.
Let $G(V, E)$ be an undirected and unweighted graph with 100 vertices. Let $d(u, v)$ denote the number of edges in a shortest path between vertices $u$ and $v$ in $V$. Let the maximum value of $d(u, v)$, $u, v \in V$ such that $u \neq v$, be 30. Let T be any breadth-first-search tree of G. Which ONE of the given options is CORRECT for every such graph G?