Which of the following sorting algorithms has the worst-case time complexity of O(n²)?

DSA_Unit3

Quiz
•
Computers
•
University
•
Hard
Amal Redge
Used 1+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Merge Sort
Quick Sort
Bubble Sort
Radix Sort
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which sorting algorithm works by repeatedly swapping adjacent elements if they are in the wrong order?
Quick Sort
Merge Sort
Bubble Sort
Selection Sort
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which of the following sorting algorithms does the number of swaps always remain the same for a given input?
Bubble Sort
Insertion Sort
Selection Sort
Quick Sort
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the average-case time complexity of Quick Sort?
O(n)
O(n log n)
O(n²)
O(log n)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which sorting algorithm works by repeatedly selecting the smallest (or largest) element and placing it in its correct position?
Merge Sort
Selection Sort
Bubble Sort
Quick Sort
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which sorting algorithm is the most efficient in terms of time complexity for large datasets?
Bubble Sort
Quick Sort
Selection Sort
Insertion Sort
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Merge Sort follows which algorithmic approach?
Divide and Conquer
Greedy Algorithm
Dynamic Programming
Backtracking
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Data structures PGDCA

Quiz
•
University
20 questions
Exploring Trees and Graph Algorithms

Quiz
•
University
25 questions
Technical quiz(Medium-Level)

Quiz
•
University
28 questions
Computer Science quiz

Quiz
•
11th Grade - University
30 questions
Data Structures and Its Applications

Quiz
•
University
26 questions
Analysis Algorithms Introduction

Quiz
•
University
20 questions
DAA - CSE A

Quiz
•
University
25 questions
Technical quiz

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade