Time Complexity Quiz

Time Complexity Quiz

12th Grade

11 Qs

quiz-placeholder

Similar activities

Searching & Sorting Algorithms

Searching & Sorting Algorithms

10th Grade - University

16 Qs

Heap Sort in Java

Heap Sort in Java

12th Grade

10 Qs

 Polymorphism in OOP

Polymorphism in OOP

12th Grade

14 Qs

Code.org CSA

Code.org CSA

9th - 12th Grade

15 Qs

Unit 3 Code.org Principles

Unit 3 Code.org Principles

9th - 12th Grade

15 Qs

9618 15.1 RISC/CISC and Assembly

9618 15.1 RISC/CISC and Assembly

12th Grade

11 Qs

CCIS 104 Quiz #1.2

CCIS 104 Quiz #1.2

12th Grade

13 Qs

Big O Notation

Big O Notation

11th - 12th Grade

15 Qs

Time Complexity Quiz

Time Complexity Quiz

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Faieq Khan

Used 35+ times

FREE Resource

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

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?