Sorting Algorithms
Quiz
•
Computers
•
University
•
Hard
Pavan Jakkepalli
Used 64+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following is not a stable sorting algorithm?
Bubble sort
Selection sort
Quick sort
None of these
2.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which of the following is/are in-place sorting algorithm(s)?
Selection sort
Bubble sort
Quick sort
Merge sort
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The worst-case time complexity of a quick sort algorithm?
O(nlogn)
O(logn)
O(n^2)
O(n^2logn)
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The no.of comparisons in first pass in bubble sort to sort n numbers is....?
n
n(n-1)/2
n-1
n^2
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The maximum no.of swappings in first pass of selection sort to sort n numbers is....?
1
n(n-1)/2
n-1
n^2
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In quick sort, based on key or pivot element position, the list is partitioned into how many sub-lists?
1
2
3
4
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
If the list is almost sorted, then which of the following algorithm gives the better performance?
Bubble sort
Selection sort
Quick sort
All of these
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
2025 python class first quiz
Quiz
•
9th Grade - University
15 questions
SIMKOM
Quiz
•
12th Grade - Professi...
10 questions
Let's Play Together
Quiz
•
University - Professi...
16 questions
Social Media 2024
Quiz
•
University
10 questions
Planning and Implementation of Information Security
Quiz
•
University
14 questions
LA5.C5: Branching and Subroutines
Quiz
•
9th Grade - University
15 questions
ENGINEERING DATA ANALYSIS PRELIM
Quiz
•
University
10 questions
Clustering_Pertemuan2_Quiz_Ceria
Quiz
•
University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
12 questions
Halloween
Quiz
•
3rd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
History of Halloween: Pagan or Christian?
Interactive video
•
11th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
