Binary and linear search

Quiz
•
Computers
•
10th Grade
•
Easy

M Ellis
Used 2+ times
FREE Resource
33 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a linear search?
A method where each item in the list is checked in order from the start until the item is found.
A method where the list is split into two each time a comparison is made.
A method where items are sorted in descending order.
A method where only the last item is checked.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a binary search?
A method where each item is checked in order from the start.
A method where an ordered list is split into two each time a comparison is made.
A method where items are randomly checked.
A method where only the first item is checked.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a necessary condition for performing a binary search?
The list needs to be unordered.
The list needs to be in order.
The list needs to be in reverse order.
The list needs to be random.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What should you do if the middle value is the one you are looking for in a binary search?
Continue searching.
Celebrate, and stop.
Take the list to the left.
Take the list to the right.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a binary search, what action is taken if the middle value is larger than the one you are looking for?
Take the list to the right of the middle value.
Take the list to the left of the middle value.
Stop the search.
Reverse the list.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the next step if the middle value is smaller than the one you are looking for in a binary search?
Take the list to the left of the middle value.
Take the list to the right of the middle value.
Stop the search.
Reverse the list.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the middle value in the list when performing a binary search for the number 9?
9
12
16
18
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
Computer Basic Quiz

Quiz
•
9th - 12th Grade
34 questions
Searches and Sorts

Quiz
•
9th - 12th Grade
35 questions
Number systems

Quiz
•
4th - 12th Grade
28 questions
CSP Unit 1 Review

Quiz
•
9th - 12th Grade
30 questions
Penilaian Harian kelas 9 Bab 1

Quiz
•
9th - 12th Grade
33 questions
X. Summary Quiz

Quiz
•
10th Grade
30 questions
Computer Science Foundations Vocab

Quiz
•
9th - 12th Grade
30 questions
Binary ⇄ Decimal ⇄ Hexadecimal

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade