Big-O Notation

Big-O Notation

12th Grade

26 Qs

quiz-placeholder

Similar activities

Algorithms - Optimisation (Dijkstra)

Algorithms - Optimisation (Dijkstra)

12th Grade

22 Qs

CSP 1 Units 5 and 6 Quiz

CSP 1 Units 5 and 6 Quiz

12th Grade

25 Qs

Computer Science Spiral Review

Computer Science Spiral Review

12th Grade

23 Qs

Data Structures - Hash Tables

Data Structures - Hash Tables

12th Grade

25 Qs

Computer Engineering Review

Computer Engineering Review

9th - 12th Grade

21 Qs

Algorithm Computer Science

Algorithm Computer Science

9th - 12th Grade

23 Qs

Binary Search Tree

Binary Search Tree

11th - 12th Grade

25 Qs

Algorithms Recap

Algorithms Recap

12th Grade

31 Qs

Big-O Notation

Big-O Notation

Assessment

Quiz

Computers

12th Grade

Medium

Created by

R Woodruff

Used 2K+ times

FREE Resource

26 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

The O (n!) is so inefficient, there is no practical use for it

True

False

6.

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)

7.

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)

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?