Search Header Logo

Time complexity of sorting algorithms

Authored by Elizabeth Gist

Computers

12th Grade

Used 4+ times

Time complexity of sorting algorithms
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the average-case time complexity of Quick Sort?

O(n)

O(nlogn)

O(n2)

O(logn)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which sorting algorithm has a worst-case time complexity of O(n2)?

Merge Sort

Quick Sort

Heap Sort

Bubble Sort

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the best-case time complexity of Insertion Sort?

O(nlogn)

O(n2)

O(n)

O(logn)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which sorting algorithm consistently has a time complexity of O(nlogn) in the worst case?

Quick Sort

Merge Sort

Bubble Sort

Insertion Sort

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the worst-case time complexity of Quick Sort?

O(n)

O(nlogn)

O(n2)

O(logn)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which sorting algorithm has an average-case time complexity of O(n2)?

Bubble Sort

Merge Sort

Quick Sort

Heap Sort

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the average-case time complexity of Merge Sort?

O(nlogn)

O(n2)

O(n)

O(logn)

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?