
Understanding Complexity Classes
Quiz
•
English
•
University
•
Practice Problem
•
Medium
Prema Kadam
Used 1+ times
FREE Resource
Enhance your content in a minute
22 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is time complexity?
Time complexity measures the time an algorithm takes to run as a function of the input size.
Time complexity indicates the number of lines of code in an algorithm.
Time complexity is the measure of memory usage of an algorithm.
Time complexity refers to the physical time taken by a computer to execute a program.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Define asymptotic notation.
Asymptotic notation is used to measure the accuracy of algorithms.
Asymptotic notation includes Big O, Big Omega, and Big Theta notations, which characterize the growth rates of functions.
Asymptotic notation only includes Big O notation.
Asymptotic notation refers to the average case performance of algorithms.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does P stand for in computational complexity?
Polynomial space
Pseudopolynomial time
Prime time
Polynomial time
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain the NP problem.
The NP problem is a class of problems solvable in linear time.
The NP problem is a class of decision problems verifiable in polynomial time.
The NP problem refers to non-deterministic polynomial time algorithms only.
The NP problem is a type of optimization problem that cannot be verified.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between P and NP problems?
P problems can be solved in polynomial time; NP problems can be verified in polynomial time.
P problems can be verified in linear time; NP problems can only be solved in exponential time.
P problems can be solved in exponential time; NP problems cannot be verified in polynomial time.
P problems are always harder than NP problems; NP problems are easier to solve than P problems.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Define NP-hard problems.
NP-hard problems are problems for which every problem in NP can be reduced to them in polynomial time, and they may not be solvable in polynomial time.
All NP-hard problems are also NP-complete.
NP-hard problems can be solved in linear time.
NP-hard problems are a subset of NP problems.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are NP-complete problems?
NP-complete problems are a subset of P problems.
NP-complete problems are only solvable in polynomial time.
NP-complete problems are decision problems that are both in NP and NP-hard.
NP-complete problems can be solved in linear time.
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Welcome back, mates!
Quiz
•
University
17 questions
Week 8: Feelings and emotions
Quiz
•
University
20 questions
Eng. for Com. Unit 3
Quiz
•
University
18 questions
Agenda and Minutes - Intra Office Communication
Quiz
•
8th Grade - University
20 questions
Pragmatics & Discourse
Quiz
•
11th Grade - University
20 questions
B2.2 Unit 5 Inversions
Quiz
•
9th Grade - Professio...
20 questions
Register, Formality
Quiz
•
5th Grade - University
17 questions
FILMS
Quiz
•
2nd Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
