Sorting algorithms I
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Yomna Elkholy
Used 9+ times
FREE Resource
Enhance your content in a minute
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is meant by an in-place sorting algorithm?
The input is already sorted and in-place
It requires additional storage
It needs O(1) memory to create auxiliary locations
It requires additional space
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an in-place sorting algorithm?
Selection sort
Insertion sort
Bubble sort
All
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following sorting algorithms is best used when the array is nearly sorted to begin with?
Selection sort
Insertion sort
Bubble sort
None of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the worst case complexity of selection sort?
O(nlogn)
O(logn)
O(n)
O(𝐧𝟐)
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Select the appropriate code that performs selection sort.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the average case complexity of selection sort?
O(nlogn)
O(logn)
O(n)
O(𝐧𝟐)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the disadvantage of selection sort?
What is the disadvantage of selection sort?
It is not scalable
It can be used for small keys
It takes linear time to sort the elements
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
16 questions
Conceptos básicos de Informática
Quiz
•
University
20 questions
UIT 1111 (Latihan Word)
Quiz
•
University
20 questions
Banco de Dados
Quiz
•
University - Professi...
20 questions
3°DS _AV2_R2 3TEC_PM_Programação Mobile _12_20 Quizizz
Quiz
•
11th Grade - University
18 questions
DI (EM24) - Diseño de Interfaces (T7.1)
Quiz
•
University - Professi...
20 questions
EXAMEN DE COMANDOS
Quiz
•
University
20 questions
Hashing
Quiz
•
University
20 questions
C - Structures
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
