Quiz 4 Flashcards

1
Q

Suppose that we show that the new problem Foo is an element of NP and we show that a generic instance of a Foo problem can be transformed into an instance of the vertex cover problem such that the Foo instance is true if an only if the vertex cover problem is true.

A

Foo is an element of NP and the vertex cover problem is at least as hard as Foo

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do you prove a problem is NP-Complete?

A

Show that the problem belongs to the classes NP and NP-Hard

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do we show a problem belongs to the class NP?

A

Show that there exists a verification algorithm that can use a certificate to verify a yes answer in polynomial time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

To show that subset sum is NP Hard, we showed a polynomial time reduction from 3-CNF-SAT to subset sum

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

In the reduction for subset sum, what was the form of the target value for the subset sum?

A

111_111444_444

How well did you know this?
1
Not at all
2
3
4
5
Perfectly