DAA_NP COMPLETE

DAA_NP COMPLETE

Professional Development

10 Qs

quiz-placeholder

Similar activities

Introduction to Programming in C

Introduction to Programming in C

Professional Development

10 Qs

Supporting Tech Integration

Supporting Tech Integration

Professional Development

10 Qs

COMPUTATIONAL THINKING

COMPUTATIONAL THINKING

Professional Development

13 Qs

Wiedza o komputerach i podobne

Wiedza o komputerach i podobne

3rd Grade - Professional Development

7 Qs

Bezpieczeństwo  w internecie

Bezpieczeństwo w internecie

KG - Professional Development

11 Qs

Senz AIoT Savants  - ML & C++

Senz AIoT Savants - ML & C++

Professional Development

10 Qs

System komputerowy - podzespoły - opis

System komputerowy - podzespoły - opis

Professional Development

10 Qs

Kiểm tra kiến thức về thư viện NumPy trong Python

Kiểm tra kiến thức về thư viện NumPy trong Python

Professional Development

15 Qs

DAA_NP COMPLETE

DAA_NP COMPLETE

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Prem Kumar

Used 9+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is false about NP-Complete and NP-Hard problems.

If we want to prove that a problem X is NP-Hard, we take a known NP-Hard problem Y and reduce Y to X

The first problem that was proved as NP-complete was the circuit satisfiability problem.

NP-complete is a subset of NP Hard

None of the above

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following statements are TRUE?

(1) The problem of determining whether there exists a cycle in an undirected graph is in P.

(2) The problem of determining whether there exists a cycle in an undirected graph is in NP.

(3) If a problem A is NP-Complete, there exists a non-deterministic polynomial time algorithm to solve A.

1 and 3

2 and 3

1 and 2

All the three

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Let X be a problem that belongs to the class NP. Then which one of the following is TRUE?

There is no polynomial time algorithm for X.

If X can be solved deterministically in polynomial time, then P = NP.

If X is NP-hard, then it is NP-complete.

X may be undecidable.

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Let S be an NP-complete problem and Q and R be two other problems not known to be in NP. Q is polynomial time reducible to S and S is polynomial-time reducible to R. Which one of the following statements is true?

R is NP-complete

R is NP-hard

Q is NP-complete

Q is NP-Hard

5.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

Problems that cannot be solved by any algorithm are called

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

To which class does the Euler’s circuit problem belong?

P

NP

NP Hard

NP Complete

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

How many stages of procedure does a non-deterministic algorithm consist of?

1

2

3

4

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?