Quiz Space

Advanced Algorithms · Quiz 2 · 3 Dec 2023 · September 2023 term

Question 18: The EXACT-COVER-BY-3-SETS problem is defined as the foll…

Question 18

+3 marksOne correct option

The EXACT-COVER-BY-3-SETS problem is defined as the following: given a finite set XX with ∣X∣=3q|X| = 3q and a collection CC of 3-element subsets of XX, does CC contain an exact cover for XX, that is, a subcollection C′⊆CC' \subseteq C such that every element of XX occurs in exactly one member of C′C'?

The EXACT-COVER-BY-4-SETS problem is defined as the following: given a finite set XX with ∣X∣=4q|X| = 4q and a collection CC of 4-element subsets of XX, does CC contain an exact cover for XX, that is, a subcollection C′⊆CC' \subseteq C such that every element of XX occurs in exactly one member of C′C'?

Given that EXACT-COVER-BY-3-SETS is NP-Complete, is EXACT-COVER-BY-4-SETS also NP-Complete?

  1. A

    Yes, because there is a reduction from EXACT-COVER-BY-3-SETS to EXACT- COVER-BY-4-SETS.

  2. B

    Yes, because there is a reduction from EXACT-COVER-BY-4-SETS to EXACT- COVER-BY-3-SETS.

  3. C

    EXACT-COVER-BY-4-SETS may or may not be NP-Complete.

Show answer

Correct answer

  • A

    Yes, because there is a reduction from EXACT-COVER-BY-3-SETS to EXACT- COVER-BY-4-SETS.

Question 18 of 20 in the IIT Madras BS Advanced Algorithms (Advanced Algorithms) Quiz 2 paper sat on 3 Dec 2023, in the September 2023 term (IIT M DEGREE AN2 EXAM QDB2 03 Dec 2023). It carries 3 marks.

More questions from this paper

  1. Q1You are given a sequence of integers a of length 2n. You have to split these 2n integers into n pairs; each pair will r…
  2. Q2You are given a sequence of integers a of length 2n. You have to split these 2n integers into n pairs; each pair will r…
  3. Q3You are given a sequence of integers a of length 2n. You have to split these 2n integers into n pairs; each pair will r…
  4. Q4You are given a sequence of integers a of length 2n. You have to split these 2n integers into n pairs; each pair will r…
  5. Q5You are given a sequence of integers a of length 2n. You have to split these 2n integers into n pairs; each pair will r…
  6. Q6Tina stumbles upon a lottery chart dropped by a time traveler from the future, which lists winning lottery numbers and …
  7. Q7Tina stumbles upon a lottery chart dropped by a time traveler from the future, which lists winning lottery numbers and …
  8. Q8Tina stumbles upon a lottery chart dropped by a time traveler from the future, which lists winning lottery numbers and …
  9. Q9Tina stumbles upon a lottery chart dropped by a time traveler from the future, which lists winning lottery numbers and …
  10. Q10Tina stumbles upon a lottery chart dropped by a time traveler from the future, which lists winning lottery numbers and …
  11. Q11Tina stumbles upon a lottery chart dropped by a time traveler from the future, which lists winning lottery numbers and …
  12. Q12Let G = (V, E) be a graph. A cut in G is a partition of V into two sets. Let S \subseteq V be a subset of vertices. The…
  13. Q13Let G = (V, E) be a graph. A cut in G is a partition of V into two sets. Let S \subseteq V be a subset of vertices. The…
  14. Q14Let G = (V, E) be a graph. A cut in G is a partition of V into two sets. Let S \subseteq V be a subset of vertices. The…
  15. Q15Let G = (V, E) be a graph. A cut in G is a partition of V into two sets. Let S \subseteq V be a subset of vertices. The…
  16. Q16Let G = (V, E) be a graph. A cut in G is a partition of V into two sets. Let S \subseteq V be a subset of vertices. The…
  17. Q17Recall 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…
  18. Q19Figure question
  19. Q20Say problem X reduces to problem Y. Which of the following can we infer?