• edited by
1,090 views
2 2 votes

Consider the following statements.

  1. NP-complete problems are those that we know we can never solve efficiently.
  2. If we find an efficient algorithm for one NP-complete problem, then we can solve all NP-complete problems efficiently.
  3. Checking whether a number is a prime is an NP-complete problem.

Then:

  1. $1$ and $2$ are true but $3$ is false.
  2. $1$ and $3$ are false but $2$ is true.
  3. $2$ and $3$ are true but $1$ is false.
  4. All three statements are false.

1 Answer

3 3 votes

1)False, because  NP-complete problems are those for which we don't have efficient(polynomial time) algorithm but still, it has not yet mathematically proven that we can never solve efficiently. i.e. we may solve it efficiently in that case P=NP


2) True because from the definition of NP-Complete problem it follows "NPC problems are set of problems in NP that are as hard as any problem in NP"

3)False, Checking whether a number is a prime is in P. This a famous groundbreaking work by prof Manindra Agrawal of IIT-K and his two undergraduate students  namely AKS primality testing algorithm which shows that testing whether a number is a prime is in P
For more details about AKS algorithm, you may refer this: https://en.wikipedia.org/wiki/AKS_primality_test

Hence, Option B is the correct answer

• edited by
Answer:
Position:
Show:

Related questions

6 6 votes
1 1 answer
4.8k
4.8k views
Sammohan Ganguly asked Apr 30, 2018
4,812 views
You are given a list of positive integers along with a sequence of operations from the set $\left \{ *,+\right \}$ .You construct expressions from these two lists so that...
7 7 votes
1 answers 1 answer
2.0k
2.0k views
go_editor asked May 27, 2016
1,988 views
A finite sequence of bits is represented as a list with values from the set $\{0,1\}$. For example, $[0,1,0], [1,0,1,1], \dots [ \: ]$ denotes the empty list, and $[b]$ i...
1 1 vote
2 2 answers
1.1k
1.1k views
go_editor asked May 27, 2016
1,109 views
An international cellphone company provides service on 7 different frequencies. They wish to set up business in Tamil Nadu and have fixed the locations of 100 towers for ...
2 2 votes
1 1 answer
1.4k
1.4k views
go_editor asked May 19, 2016
1,351 views
The Income-Tax Department had prepared a list D of names of defaulters on March $31$. However, the government extended the deadline to pay taxes till April $15$.The IT de...