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)
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
15 questions
Everything Everything film
Quiz
•
11th - 12th Grade
15 questions
Gêneros literários
Quiz
•
1st - 12th Grade
10 questions
GESTION DE RESIDUOS
Quiz
•
1st - 12th Grade
10 questions
Distribución Binomial
Quiz
•
11th - 12th Grade
10 questions
PAGSUSULIT SA PAGBASA AT PAGSUSURI NG IBAT IBANG TEKSTO
Quiz
•
11th Grade
10 questions
Term 1 Week 9
Quiz
•
11th Grade
12 questions
QUIZZ - 2ª SÉRIE EM - REVISÃ0 P4
Quiz
•
11th Grade
9 questions
Le verbe Faire au présent
Quiz
•
KG - University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Other
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade
10 questions
Evaluating Piecewise Functions Practice
Quiz
•
11th Grade
18 questions
Success Strategies
Quiz
•
9th - 12th Grade
