Search Header Logo

Quiz on Complexity Measures

Authored by Anasuya Sahoo

Computers

University

Used 2+ times

Quiz on Complexity Measures
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which notation represents the worst-case time complexity of an algorithm?

A. Big O (O)

B. Big Omega (Ω)

C. Big Theta (Θ)

D. Little o (o)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which notation represents both the upper and lower bounds of an algorithm's time complexity?

A. Big O (O)

B. Big Omega (Ω)

C. Big Theta (Θ)

D. Little omega (ω)

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What two pieces of information allow you to analyse an algorithm?

Time Complexity
Space Complexity
Size Complexity
Complex Complexity
Simplicity Complex

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which notation is used to describe the average-case time complexity of an algorithm?

A. Big O (O)

B. Big Omega (Ω)

C. Big Theta (Θ)

D. Little omega (ω)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Asymptotic notation is used to represent a Strict Upper bound time complexity

Big Oh

Small Oh

Omega

Small Omega

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If for an algorithm time complexity is given by O(1) then the complexity of it is ____________

Constant

Polynomial

Exponential

None of the mentioned

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of following code:

for i in range(1, n, 5):

print(i)

A. O(1)

B. O(n)

C. O(n^2)

D. O(log n)

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?