
Linear Search
Authored by Ryan Coughlin
Computers
10th Grade
Used 41+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which type of lists or data sets are linear searching algorithms used for?
Unsorted lists or data sets
Sorted lists or data sets
2.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which of the following descriptions best describes a linear search:
Put the elements in order, check each item in turn
Put the elements in order, compare with the middle value, split the list in order and repeat
Elements do not need to be in order, check each item in turn.
Elements do not need to be in order, compare to the middle value, split the list in order and repeat.
3.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
A Linear search algorithm requires data to be ordered.
True
False
4.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
A linear search is to be performed on the list:
12, 6, 8, 1, 3
How many searches would it take to find the number 1?
1
2
3
4
5.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
How many linear searches will it take to find the value 7 in the list [1,4,8,7,10,28]?
2
3
4
5
6.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What is a trace table?
A technique used to test algorithms for logical errors.
A technique used for drawing in art.
A type of sort algorithm
A type of search algorithm
7.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What will happen in a Linear search algorithm if no match is found?
It continues to search in a never ending loop.
"Item not found" is returned
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?