Searching and Sorting Algorithms
Quiz
•
Computers
•
9th - 10th Grade
•
Practice Problem
•
Medium
Tracy Mayhead
Used 49+ times
FREE Resource
Enhance your content in a minute
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where can Linear Search be performed?
On letters
On Numbers
Both
None of these
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an advantage of the Linear search algorithm?
Performs well with small sized data sets
Is complicated to code
Can be used on data sets with more than a million elements
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a disadvantage of the Linear search algorithm?
It will only work on a sorted data set
May be too slow to process large data sets
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which of the following cases, binary search algorithm is used?
To search an element in an unordered list.
To search an element in a list of few elements.
To search an element in any ordered list with large number of elements.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Complete the sentence: The lower half of the list is discarded if the value at midpoint is …………………….. item searched.
less than
greater than
equal to
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or False: The upper half of the list is discarded if the value at midpoint is greater than item searched.
True
False
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
20 questions
Perakitan dan Pengujian Komputer - KJD
Quiz
•
10th Grade
20 questions
SOFTWARE 7I
Quiz
•
7th Grade - University
20 questions
Browser dan CMS
Quiz
•
7th - 9th Grade
15 questions
Bài 22-Kiểu dữ liệu danh sách
Quiz
•
10th Grade
20 questions
Câu hỏi ôn tập GK2
Quiz
•
9th Grade
20 questions
Skill Competition Quiz 2024
Quiz
•
10th Grade - University
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
11 questions
Programming basics
Quiz
•
10th - 11th 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
