Common Algorithms
Quiz
•
Fun, Computers, Mathematics
•
9th - 12th Grade
•
Practice Problem
•
Hard
Mohammed Rahman
Used 21+ times
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
A linear search does not need your data set to be ______.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When is a linear search a good algorithm to use?
If your data set is very large
If your data set is sorted in order
If your data set is small
If your data set is made up of irrational numbers
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When would you get a best case scenario for a linear search?
When your data set is small
When your data set is large
When your search item is near the beginning of the list
When the search item is in the middle of the list
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When would you get the best case scenario for a binary search?
When your list is small
When your list is unsorted
When your search item is in the beginning of the list
When your search item is exactly in the middle of the list
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these statements is true for binary search?
It looks at each data item in order sequentially
It is very good if your data set is very small
It requires your data set to be sorted
It only works if your data set is made out of 0s and 1s
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is a disadvantage of linear search?
It does not work on unsorted data sets
It is very inefficient on large data sets
It is very time consuming on small data sets
It requires twice as much memory as binary search
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the worst case scenario for a linear search?
When the data set is large and your search item is in the middle of the list
When the data set is small and the search item is at the beginning of the list
When the data set is made up of curved geometric shapes
-OWEN D
When the data set is large and the search item is at the end of the list
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
0 questions
Unit 9 Searching and Sorting
Quiz
•
0 questions
Searching and sorting
Quiz
•
0 questions
AQA GCSE Computer Science - 3.1.3 Binary Search
Quiz
•
0 questions
Searching Algorithms
Quiz
•
0 questions
Linear and Binary Searches with Sorting
Quiz
•
0 questions
2.1 Linear and Binary Searching Algorithms
Quiz
•
0 questions
Sorting Algorithms & Efficiency
Quiz
•
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
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
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Fun
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Winter Jokes
Quiz
•
5th - 12th Grade
12 questions
Christmas Movie Trivia
Quiz
•
3rd - 12th Grade
15 questions
Christmas Songs
Quiz
•
12th Grade
10 questions
Christmas Trivia
Quiz
•
3rd - 12th Grade
23 questions
Christmas Movies
Quiz
•
5th - 12th Grade
