
Sorting & Searching Algorithms
Authored by B McCue
Computers
12th Grade
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a searching algorithm?
To write a novel
To play music
To cook a meal
To locate a specific item or value within a collection of data.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which searching algorithm has a time complexity of O(log n)?
Binary search
Linear search
Depth-first search
Breadth-first search
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blank: Linear search has a time complexity of ________.
O(n)
O(log n)
O(1)
O(n^2)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the worst-case time complexity of binary search?
O(n^2)
O(n)
O(1)
O(log n)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which sorting algorithm works by repeatedly swapping adjacent elements if they are in the wrong order?
Bubble Sort
Insertion Sort
Quick Sort
Merge Sort
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blank: Bubble sort has a time complexity of ________.
O(nlogn)
O(n)
O(n^2)
O(1)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main advantage of merge sort over bubble sort?
Merge sort is less stable than bubble sort
Efficiency in terms of time complexity
Merge sort has a higher space complexity
Merge sort is easier to implement
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
11 questions
Google Slides Quiz
Quiz
•
12th Grade
15 questions
After Effect Intoduction
Quiz
•
10th Grade - University
20 questions
Designing Network Infrastructure and Network Security
Quiz
•
KG - University
20 questions
Google SketchUp Tool
Quiz
•
KG - University
15 questions
Unbound Report Quiz
Quiz
•
9th - 12th Grade
15 questions
Code.org Lesson 1-14
Quiz
•
9th - 12th Grade
20 questions
Python básico
Quiz
•
9th - 12th Grade
11 questions
Access
Quiz
•
10th Grade - University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
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
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
10 questions
Dr. King's Speech and Its Impact
Interactive video
•
7th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
7 questions
Anti-Bullying ARS 15-341
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
15 questions
TSI Math Practice Questions
Quiz
•
8th - 12th Grade
24 questions
Identify Properties of Polygons and Quadrilaterals
Quiz
•
9th - 12th Grade