• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 5 pages
Exam (elaborations)

cs6515 Test 3 Questions with Verified Correct Answers

Document preview thumbnail
Preview 2 out of 5 pages

cs6515 Test 3 Questions with Verified Correct Answers

Content preview

cs6515 Test 3 Questions with Verified Correct
Answers
What is a P problem?

P = Polynomial

-A problem that can be solved in Polynomial time.

-There is a Polynomial time algorithm to solve it.

What is a NP problem?

NP = Non-Deterministically Polynomial

-A problem where the Solution can be VERIFIED in Polynomial-Time

What are differences in P and NP?

All P problems are in NP but all NP problems are not in P. P is a subset of NP.

-Problems may be verifiable in Polynomial-Time but not solvable in Polynomial-Time

What are NP-Complete Problems?

The hardest problems in the NP class.

A problem is NP-Complete if it is in NP and in NP-Hard.

What are NP-Hard problems?

A problem at least as hard as every problem in the class NP.

A problem is NP-Hard if all other problems in NP can be polynomially reduced to it.

NP-Hard problems don't have to be NP problems.

What is the difference between NP-Complete and NP-Hard?

, NP-Complete problems are the hardest in the set NP.

NP-Hard is not necessarily in NP.

NP-Hard problems are at least as hard as everything in the set NP.

What is a clause edge?

An edge between vertices in the same clause

What is a variable edge?

An edge between complimentary vertices

- x and x' have a variable edge between them.

How to reduce 3SAT to Independent Set?

1. Create a graph representation of 3SAT input

- 1 vertex for each literal and each clause.

2. Add Clause Edges

-An edge between each literal in a clause

3. Add variable edges

-An edge between x and x'

What vertices do we choose to be in the IS?

1. No Clause Edges between vertices.

-Vertices cannot be neighbors of each other.

2. No Variable Edges

-Vertices cannot be compliment of each other

- x and x' cannot both be in IS.

How to prove S is an independent set?

Document information

Uploaded on
October 12, 2026
Number of pages
5
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$11.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
KenAli
2.6
(18)
Sold
120
Followers
5
Items
25622
Last sold
3 days ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions