Questions: Vertex Cover and Set Cover Problems

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

You are running the O(2^k · n) branching algorithm on a graph and pick an uncovered edge (u, v). You branch: include u (recurse with k−1) or include v (recurse with k−1). A student proposes a third branch: include neither u nor v and skip this edge. Why is this branch invalid?

AIt would make the algorithm exponential in n rather than just in k
BEvery vertex cover must contain at least one endpoint of every edge, so skipping an uncovered edge guarantees an incomplete cover
CThe third branch is only invalid when both u and v have degree greater than k
DSkipping edges is allowed but produces an approximation, not an exact solution
Question 2 Multiple Choice

In the kernelization algorithm for vertex cover, why must every vertex of degree greater than k be included in the cover?

AHigh-degree vertices appear in clause gadgets from the 3-SAT reduction, making them mandatory
BIf such a vertex is omitted, each of its more-than-k neighbors must be included to cover its incident edges, which already exceeds the budget of k vertices
CHigh-degree vertices form independent sets that must all be covered
DThe greedy approximation always selects high-degree vertices first
Question 3 True / False

The complement of a vertex cover in a graph is always an independent set.

TTrue
FFalse
Question 4 True / False

Since vertex cover is NP-complete, no polynomial-time algorithm can achieve any constant-factor approximation for it.

TTrue
FFalse
Question 5 Short Answer

Why does the NP-completeness proof for vertex cover require two distinct types of gadgets (variable gadgets and clause gadgets) in the reduction from 3-SAT?

Think about your answer, then reveal below.