
Search Algorithm Quiz
Quiz
•
Computers
•
9th Grade
•
Practice Problem
•
Easy
David Dodwell-Bennett
Used 2+ times
FREE Resource
Enhance your content in a minute
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a linear search algorithm used for?
To sort items of data in ascending order
To find items of data
To delete items of data
To update items of data
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when a linear search algorithm finds the desired item in the array?
It continues to search through the rest of the array
It deletes the item from the array
It stops and displays the location of the item
It restarts the search from the beginning of the array
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does a linear search algorithm do if the item is not found at the current index?
It stops the search
It moves to the previous item
It moves to the next item
It displays an error message
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For binary searching to be possible, what condition must the set of data meet?
The data must be in random order
The data must be in descending order
The data must be ordered
The data must contain numeric values only
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When performing a binary search and the search item is positioned lower than the middle, what part of the data set is searched next?
The first quarter of the set
The second half of the set
The first half of the set
The last quarter of the set
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the position of the middle item if the lower bound is at index 0 and the upper bound is at index 10?
4
5
6
7
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What operation is performed to find the 'midPoint' in the binary search algorithm?
(first + last) * DIV 2
(first + last) / 2
(first + last) + DIV 2
(first + last) DIV 2
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
9 questions
Name that OS
Quiz
•
9th Grade
10 questions
R082 Book Cover Assets planning
Quiz
•
7th - 12th Grade
15 questions
Informatika 9
Quiz
•
9th Grade
16 questions
Input Device
Quiz
•
9th - 10th Grade
16 questions
Conditions
Quiz
•
8th - 10th Grade
10 questions
Grade9-Sensors
Quiz
•
9th Grade
14 questions
KONSEP ASAS PEMIKIRAN KOMPUTASIONAL
Quiz
•
9th Grade
10 questions
SISTEM KOMPUTER KLS 9
Quiz
•
9th Grade
Popular Resources on Wayground
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
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
