Big-O Notation

Big-O Notation

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Arif D.

Used 262+ times

FREE Resource

Student preview

quiz-placeholder

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

Discover more resources for Computers