Big O notation

Big O notation

12th Grade

38 Qs

quiz-placeholder

Similar activities

Unit 5 AP CSP Code.org

Unit 5 AP CSP Code.org

9th - 12th Grade

33 Qs

CSP Unit 10: Algorithms

CSP Unit 10: Algorithms

9th - 12th Grade

41 Qs

PLTW CSE Unit 1.3 Review

PLTW CSE Unit 1.3 Review

9th - 12th Grade

35 Qs

Computer Science I Midterm Review (AKHS)

Computer Science I Midterm Review (AKHS)

9th - 12th Grade

34 Qs

AHJN: Unit19-Computational Thinking

AHJN: Unit19-Computational Thinking

12th Grade

38 Qs

Data Structure Operations Time Complexities

Data Structure Operations Time Complexities

9th - 12th Grade

33 Qs

Python  - 4.நெறிமுறையின் யுக்திகள்

Python - 4.நெறிமுறையின் யுக்திகள்

12th Grade

40 Qs

Topic Recap: Algorithms

Topic Recap: Algorithms

12th Grade

41 Qs

Big O notation

Big O notation

Assessment

Quiz

Computers

12th Grade

Medium

Created by

shaan bushra

Used 103+ times

FREE Resource

38 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Indicate constant time complexity in terms of Big-O notation

O(n)

O(1)

O(log n)

O (n^2)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Indicate exponential time complexity in terms of big-O notation

O (n)

O (n^2)

O (2^n)

O (log n)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Find the slowest time complexity

O (n)

O (n^2)

O (n!)

O (2^n)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which notation is consistent for every execution?

O (n)

O (n^2)

O (1)

O (2^n)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which notation grows in proportion to the size of the input

O (n)

O (n^2)

O (1)

O (2^n)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which notation would you usually use for a nested loop?

O (n)

O (n^2)

O (1)

O (2^n)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Indicate polynomial time complexity in terms of big-O notation

O (n!)

O (1)

O (n^2)

O (log n)

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?