Search Header Logo

Time Complexity Quiz

Authored by Faieq Khan

Computers

12th Grade

Used 37+ times

Time Complexity Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which time complexity grows the fastest as the input size increases?

Constant
Linear
Logarithmic
Quadratic

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which time complexity grows the slowest as the input size increases?

Constant
Linear
Logarithmic
Quadratic

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which time complexity has a growth rate that is proportional to the logarithm of the input size?

Constant
Linear
Logarithmic
Quadratic

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which time complexity has a growth rate that is proportional to the square of the input size?

Constant
Linear
Logarithmic
Quadratic

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which time complexity grows at the same rate as the input size?

Constant
Linear
Logarithmic
Quadratic

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A program has to find the largest number in a list of 1000 elements. Which time complexity does this operation have?

Constant
Linear
Logarithmic
Quadratic

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The number of operations a program has to perform to sort a list of length n is directly proportional to n. What is the time complexity of this program?

Constant
Linear
Logarithmic
Quadratic

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?