Searching and Sorting Algorithms

Quiz
•
Computers
•
9th - 10th Grade
•
Medium
Tracy Mayhead
Used 45+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Algorithms

Quiz
•
3rd - 12th Grade
20 questions
AQA GCSE Computer Science - 3.1.2 Efficiency of algorithms

Quiz
•
8th - 10th Grade
15 questions
01 Searching Algorithms

Quiz
•
9th - 12th Grade
15 questions
AP CSP Algorithms & Programming (College Board Style)

Quiz
•
9th - 12th Grade
18 questions
Algorithms Unit 2.1 Review

Quiz
•
8th - 10th Grade
11 questions
Binary Search GCSE

Quiz
•
10th Grade
14 questions
CSP - Vocab Quiz JAN2023

Quiz
•
9th - 12th Grade
11 questions
40. Algorithm - Algorithm Efficiency Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade