
Binary Search

Quiz
•
Computers
•
11th Grade
•
Medium
Deborah Klier
Used 9+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does a Binary Search Work?
It splits data in two at the middle point, discarding the half that doesn't contain the search item
It searches through each item one at a time
It looks for true or false values in a list
It splits data into two separate setsand searches them one at a time
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does a Linear/Sequential search work?
It splits data in two at the middle point, discarding the half that doesn't contain the search item
It starts the end last item and works backwards, comparing each item in turn
It starts at the first item and compares each item in turn with the search item
It splits data into two separate sets and searches them one at a time
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where does a linear/sequential search start?
At the end of a data set
In the middle of a data set
At the start of a data set
The item before the end of a data set
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where does the Binary search start?
At the end of a data set
In the middle of a data set
The item before the end of a data set
At the start of a data set
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about binary search?
The list must be sorted
The list can be in any order
It works by dividing the list in half and searching each half separately
t works by searching one element at a time from the beginning of the list
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about linear/sequential search?
The list must be sorted
The list can be in any order
It works by dividing the list in half and searching each half separately
t works by searching one element at a time from the beginning of the list
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why must a dataset be sorted in order to do a binary search?
Because it compares each item one at a time
Because it is easier to program this
Because it needs to be able to look for the middle point of the data set
So that you can used mixed data types
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
Presenting Information

Quiz
•
11th Grade
11 questions
42. Algorithm - Binary Search Quiz

Quiz
•
9th - 12th Grade
12 questions
Kuis Akuntansi MYOB XI AK 1

Quiz
•
11th Grade
11 questions
44. Algorithms - Bubble Sort Algorithm Quiz

Quiz
•
9th - 12th Grade
16 questions
Boolean and Search Operators

Quiz
•
9th - 12th Grade
11 questions
Javascript Lists Lecture Knowledge Check

Quiz
•
9th - 12th Grade
13 questions
Robust Programming

Quiz
•
11th - 12th Grade
14 questions
U10 - Algorithms Quiz

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade