
Time complexity of sorting algorithms

Quiz
•
Computers
•
12th Grade
•
Hard
Elizabeth Gist
Used 3+ times
FREE Resource
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)
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
File Types - Information Processing Part 3

Quiz
•
5th - 12th Grade
10 questions
SQL Queries 6

Quiz
•
11th - 12th Grade
10 questions
CS Basics Quiz

Quiz
•
12th Grade
15 questions
CPIT 201 Algorithms

Quiz
•
12th Grade - University
10 questions
analysis of algorithm (lecture 2)

Quiz
•
12th Grade
15 questions
Array Search & Sort Quiz

Quiz
•
12th Grade
15 questions
Excel Mastery Quiz

Quiz
•
12th Grade
15 questions
list in python

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade