Searching and Sorting Algorithms Quiz
Quiz
•
Other
•
11th Grade
•
Practice Problem
•
Medium
Darragh OConnor
Used 8+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of a linear search algorithm?
O(n)
O(n^2)
O(log n)
O(1)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which search algorithm requires the array to be sorted before performing the search?
Breadth First Search
Depth First Search
Binary Search
Linear Search
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the worst-case time complexity of a binary search algorithm?
O(log n)
O(1)
O(n^2)
O(n)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which sorting algorithm repeatedly swaps adjacent elements if they are in the wrong order?
Selection Sort
Bubble Sort
Insertion Sort
Merge Sort
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of a bubble sort algorithm in the worst case?
O(1)
O(log n)
O(n)
O(n^2)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which sorting algorithm repeatedly selects the minimum element from the unsorted part of the array and places it at the beginning?
Selection Sort
Merge Sort
Insertion Sort
Bubble Sort
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of a selection sort algorithm in the worst case?
O(n^2)
O(n log n)
O(log n)
O(n)
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
Already have an account?
Similar Resources on Wayground
10 questions
Éducation financière
Quiz
•
10th - 11th Grade
10 questions
Próza 60. let
Quiz
•
11th - 12th Grade
8 questions
Imposible to get 10/10 RAP MUSIC
Quiz
•
KG - Professional Dev...
10 questions
lenguaje algebraico
Quiz
•
9th - 11th Grade
11 questions
Twf neu Datblygiad?
Quiz
•
9th - 12th Grade
15 questions
Les 12 travaux d'Hercule: L'Hydre de Lerne
Quiz
•
KG - 12th Grade
10 questions
Documentos comerciales
Quiz
•
11th Grade
13 questions
Google Mi Negocio
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Other
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
25 questions
Preterito regular
Quiz
•
10th - 12th Grade
10 questions
hands washing
Quiz
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
16 questions
Students of Civics Unit 2: The Constitution
Quiz
•
7th - 11th Grade
5 questions
Triangle Congruence Theorems
Interactive video
•
9th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
