Quiz Space

Advanced Algorithms Quiz 2: 3 August 2025 (May 2025 term)

Question 1

+3 marksOne correct option

A graph is called a cluster graph if and only if it is a disjoint union of cliques.

The CLUSTER VERTEX DELETION (CVD) problem is the following: Given an input graph GG and a parameter kk, does there exist a set SS of at most kk vertices of GG such that the subgraph induced on V(G)∖SV(G) \setminus S is a cluster graph.

In the DISJOINT CLUSTER VERTEX DELETION (DCVD) problem we are given an input graph GG, parameter kk and a set SS of vertices of GG of size k+1k+1 such that the subgraph induced on V(G)∖SV(G) \setminus S is a cluster graph and the subgraph G[S]G[S] is also a cluster graph. Our goal is to determine if there exists a subset T⊂V(G)T \subset V(G) of size at most kk which is disjoint from SS such that the subgraph induced on V(G)∖TV(G) \setminus T is a cluster graph.

Answer the given subquestions about CVD and DCVD.

A graph G is a cluster graph if and only if it does not have an induced path on 3 vertices.

  1. A

    TRUE

  2. B

    FALSE

Question 2

+2 marksOne correct option

A graph is called a cluster graph if and only if it is a disjoint union of cliques.

The CLUSTER VERTEX DELETION (CVD) problem is the following: Given an input graph GG and a parameter kk, does there exist a set SS of at most kk vertices of GG such that the subgraph induced on V(G)∖SV(G) \setminus S is a cluster graph.

In the DISJOINT CLUSTER VERTEX DELETION (DCVD) problem we are given an input graph GG, parameter kk and a set SS of vertices of GG of size k+1k+1 such that the subgraph induced on V(G)∖SV(G) \setminus S is a cluster graph and the subgraph G[S]G[S] is also a cluster graph. Our goal is to determine if there exists a subset T⊂V(G)T \subset V(G) of size at most kk which is disjoint from SS such that the subgraph induced on V(G)∖TV(G) \setminus T is a cluster graph.

Answer the given subquestions about CVD and DCVD.

Consider the following algorithm for finding a smallest-sized subset of vertices S⊆V(G)S \subseteq V(G) such that the subgraph induced on V(G)∖SV(G) \setminus S is a cluster graph. To begin with, let H=GH = G and S=∅S = \emptyset. While HH has an induced path on 3 vertices {u,v,w}\{u, v, w\},we update HH to H\{u,v,w}H \backslash \{u, v, w\} and SS to S∪{u,v,w}S \cup \{u, v, w\}.We repeat this process until HH has no induced path on 3 vertices. What can we say about kk, the size of the set SS output by this algorithm, relative to k⋆k^\star, the size of the optimal solution?

  1. A
  2. B
  3. C

Question 3

+2 marksOne correct option

A graph is called a cluster graph if and only if it is a disjoint union of cliques.

The CLUSTER VERTEX DELETION (CVD) problem is the following: Given an input graph GG and a parameter kk, does there exist a set SS of at most kk vertices of GG such that the subgraph induced on V(G)∖SV(G) \setminus S is a cluster graph.

In the DISJOINT CLUSTER VERTEX DELETION (DCVD) problem we are given an input graph GG, parameter kk and a set SS of vertices of GG of size k+1k+1 such that the subgraph induced on V(G)∖SV(G) \setminus S is a cluster graph and the subgraph G[S]G[S] is also a cluster graph. Our goal is to determine if there exists a subset T⊂V(G)T \subset V(G) of size at most kk which is disjoint from SS such that the subgraph induced on V(G)∖TV(G) \setminus T is a cluster graph.

Answer the given subquestions about CVD and DCVD.

In the DISJOINT CLUSTER VERTEX DELETION problem, if the subgraph induced on S is not a cluster graph, we can immediately return YES.

  1. A

    TRUE

  2. B

    FALSE

23 more questions in this paper

Sign in with Google — it is free — to see every question with its answer and explanation, practise it in learning mode, or take it as a timed mock test.

More on the Advanced Algorithms Quiz 2 3 Aug 2025 paper

The IIT Madras BS Advanced Algorithms (Advanced Algorithms) Quiz 2 paper sat on 3 Aug 2025, in the May 2025 term: 26 questions for 50 marks in 120 minutes. The first 3 questions are below. Sign in with Google — it is free — to see the whole paper with its answers and explanations, in learning mode or as a timed mock test.

FeatureAdvanced Algorithms Quiz 2 3 Aug 2025 at a glance
TermMay 2025 term
SubjectAdvanced Algorithms
Course codeBSCS4021
Questions26
Marks50
Duration120 min
MCQ24
Numerical2
Official paperIIT M IMPROVEMENT AN EXAM QIM2 03 Aug 2025
Negative markingNo negative marking.
Updated

Same Quiz 2, other subjects

More Advanced Algorithms