
Sorting Algorithms Quiz

Quiz
•
Computers
•
12th Grade
•
Hard
Jhunel Peñaflorida
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of Bubble Sort?
Ο(n2)
Ο(n log n)
Ο(n)
Ο(1)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Bubble Sort, what happens when a pair of adjacent elements are not in order?
They are left unchanged
They are removed from the array
The algorithm stops
They are swapped
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Insertion Sort, what is compared with the key element to determine its position?
The previous elements
The largest element
The first element
The next element
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main characteristic of Selection Sort?
It uses recursion
It has a time complexity of Ο(n log n)
It compares every pair of elements
It divides the list into two parts
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Selection Sort, what is the first position where the minimum value is searched?
A random position
The last position
The middle position
The first position
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main disadvantage of Bubble Sort?
It is not a comparison-based algorithm
It is not suitable for large data sets
It has a time complexity of Ο(n log n)
It is not suitable for small data sets
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main advantage of Insertion Sort?
It has a time complexity of Ο(n2)
It is suitable for small data sets
It is a comparison-based algorithm
It is suitable for large data sets
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
ΨΦ - Αντικειμενοστραφείς 1

Quiz
•
12th Grade
15 questions
Bitwise Masks

Quiz
•
12th Grade
15 questions
Algorithms

Quiz
•
3rd - 12th Grade
12 questions
Sains Komputer Tingkatan 5 - 3.1.3 Menggunakan pemalar..

Quiz
•
10th - 12th Grade
9 questions
Εφαρμογές Πληροφορικής Κεφάλαιο 15-16

Quiz
•
9th - 12th Grade
10 questions
Sorting Algorithms

Quiz
•
9th - 12th Grade
15 questions
Α Γυμνασίου κεφ 7 (Προστασία λογισμικού - Ιοί)

Quiz
•
12th Grade
15 questions
Μονοδιάστατοι Πίνακες

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

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade