
Linear v Binary Search Algorithms

Quiz
•
Computers
•
10th - 12th Grade
•
Medium
Geoffrey Clarion
Used 93+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The following is pseudocode for which algorithm?
for each element in array
if element you’re looking for
return true
else
return false
linear
binary
bubble
merge
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The following is pseudocode for which algorithm?
Repeat, starting at the first element:
If the first element is what you’re looking for (the target), stop.
Otherwise, move to the next element.
linear
binary
bubble
merge
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The following is pseudocode for which algorithm?
look at middle of array
if element you’re looking for
return true
else if element is to left
search left half of array
else if element is to right
search right half of array
else
return false
linear
binary
bubble
merge
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which algorithm must start with an ordered list/array?
linear
binary
bubble
merge
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which search algorithm does this represent?
linear
binary
bubble
merge
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
"Look for lost item" is a(n)
process
decision
terminator
data item
7.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
In computer science, an algorithm must be
Finite
Precise
Well-defined
Unambiguous
8.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Pseudo-code is written for
computer to execute
humans to read
9.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which algorithm is more likely to run longer in a search of a list of names?
Linear
Binary
Similar Resources on Wayground
10 questions
REMEDIAL

Quiz
•
10th Grade
9 questions
OCR GCSE CS - 2.1 ERL sorts and searches

Quiz
•
10th - 11th Grade
10 questions
G10 CS Binary Search

Quiz
•
12th Grade
9 questions
"Searching " in Python

Quiz
•
12th Grade
6 questions
Sorts and searches

Quiz
•
1st - 12th Grade
10 questions
Computing Quiz

Quiz
•
12th Grade
10 questions
Computational Thinking - AQA A Level Computer Science

Quiz
•
10th Grade - University
10 questions
Website Design

Quiz
•
KG - University
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
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