Quiz Space

Advanced Algorithms · Quiz 2 · 4 Aug 2024 · May 2024 term

Question 12: Recall that in the vertex cover problem, we are trying t…

Question 12

+1 markOne correct option

Recall that in the vertex cover problem, we are trying to find a smallest subset SS of vertices in a graph GG such that G∖SG \setminus S is an independent set; in other words, for every edges (u,v)(u, v) in the graph GG, we have that {u,v}∩S\{u, v\} \cap S is non-empty.

Consider the algorithm that repeats the following steps as long as the graph has at least one edge available: select a vertex of maximum degree (say ww), and include ww in the solution; thereafter, delete ww and all edges incident to ww.

Based on the above data, answer the given subquestions.

Recall that the size of an optimal vertex cover is at most twice the size of a maximum matching of a graph G. Are there examples of graphs where the size of the optimal vertex cover is exactly equal to twice the size of its maximum matching? For example, this is not true for a path on three vertices: the size of both the maximum matching and minimum vertex cover is 1.

  1. A

    Yes

  2. B

    No

Show answer

Correct answer

  • A

    Yes

Question 12 of 21 in the IIT Madras BS Advanced Algorithms (Advanced Algorithms) Quiz 2 paper sat on 4 Aug 2024, in the May 2024 term (IIT M DEGREE AN EXAM QDB2 4 Aug 2024). It carries 1 mark.

More questions from this paper

  1. Q1Consider the following graph. A triangle-free subset of seven vertices is highlighted. Find the size of the largest tri…
  2. Q2The TRIANGLE-FREEDOM problem is the following: the input is a simple undirected graph G and a positive integer k. An in…
  3. Q3Figure question
  4. Q4Recall the max-flow problem: for a directed graph G(V, E) with non-negative capacities c_e for every e \in E and two sp…
  5. Q5Figure question
  6. Q6The worst-case running time and expected running time are equal to within constant factors for any randomized algorithm.
  7. Q7An adversary can provide randomized quicksort with an input array of length n that forces the algorithm to run in \omeg…
  8. Q8Figure question
  9. Q9Recall that in the vertex cover problem, we are trying to find a smallest subset S of vertices in a graph G such that G…
  10. Q10Recall that in the vertex cover problem, we are trying to find a smallest subset S of vertices in a graph G such that G…
  11. Q11Recall that in the vertex cover problem, we are trying to find a smallest subset S of vertices in a graph G such that G…
  12. Q13Based on the above data, answer the given subquestions.
  13. Q14Based on the above data, answer the given subquestions.
  14. Q15Based on the above data, answer the given subquestions.
  15. Q16The construction described here is a valid reduction from 3-SAT to 3-Coloring.
  16. Q17The construction described here is a valid reduction from 3-Coloring to 3-SAT.
  17. Q18Argue that to solve SCS, it is sufficient to find:
  18. Q19Observe that for a given \pi, the length of the corresponding superstring s(\pi), which is obtained by writing the inpu…
  19. Q20We define an overlap graph OG(\mathcal{S}) associated with \mathcal{S} as follows: OG(\mathcal{S}) is a complete direct…
  20. Q21Does the greedy algorithm always produce the right answer?