Big O notation

Big O notation

12th Grade

38 Qs

quiz-placeholder

Similar activities

Code.org Data AP CSP

Code.org Data AP CSP

9th - 12th Grade

33 Qs

Data and Society

Data and Society

9th - 12th Grade

33 Qs

AP CSP Data Unit 5

AP CSP Data Unit 5

9th - 12th Grade

33 Qs

Unit 5 Code.org AP CSP

Unit 5 Code.org AP CSP

9th - 12th Grade

33 Qs

CS 3 Midterm 2023

CS 3 Midterm 2023

12th Grade

33 Qs

Informatica teorica

Informatica teorica

12th Grade

43 Qs

2.3.1 Algorithms

2.3.1 Algorithms

12th Grade

33 Qs

APCSP Data Unit 5

APCSP Data Unit 5

9th - 12th Grade

33 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?