Question 8Asked in UGC NET Computer Science, June 2016 (Paper II & III, Selected Questions)

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…

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? Vertices: a, b, c, d, e, f, g Edges: a-b, b-c, a-d, d-e, e-f, c-f, b-e, a-g, b-g, d-g, e-g, b-f, c-e (In the figure a, b, c are on the top row, d, e, f on the bottom row, g is where the diagonals a-e and b-d cross; the diagonals b-f and c-e cross without a vertex.)
  1. A2
  2. B4
  3. C5
  4. D6
Show answerHide answer

Correct answer: (C) 5

Explanation

A clique is a maximal complete subgraph (every vertex connected to all other vertices in the subgraph). Such subgraphs are: (i) {b, c, e, f} (ii) {a, d, g} (iii) {a, b, g} (iv) {b, e, g} (v) {d, e, g}. There are 5 cliques.

From UGC NET Computer Science PYQ, June 2016 (Paper II & III, Selected Questions)

This is question 8 of UGC NET Computer Science PYQ, June 2016 (Paper II & III, Selected Questions). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.