
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
CPIT 201 Algorithms

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

Quiz
•
12th Grade
15 questions
Excel Mastery Quiz

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

Quiz
•
12th Grade
15 questions
list in python

Quiz
•
10th - 12th Grade
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
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade