A linear search works by?
Y10D/Computer Science GCSE - Algorithms - Linear & Binary

Quiz
•
Computers
•
10th Grade
•
Medium

Salah Mehdi
Used 21+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Randomly picking out items in the list until it finds the one it is looking for
Starts at the beginning and checks each item in sequence until it finds the value it is looking for
Starts in the middle to see if the value is higher or lower than what is being lookedfor, removing half the list and repeating the process
Starts at the end and checks each item in the sequence going backwards until itfinds the value it is looking for
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many checks would need to be made to find the number 8, in the list 4,5,9,8,14,20,21?
1
2
3
4
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the best case scenario for finding a value in a linear search?
It is the first item
It is the last item
It is somewhere in the middle
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the worst case scenario for finding a value in a linear search?
It is the first item
It is the last item
It is somewhere in the middle
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3
4
5
6
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3
4
5
6
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To add another item to the list
To remove an item that has been checked from the list
To increase the value so that the next item of the list can be checked
To increase the number of times that the loop will repeat
Create a free account and access millions of resources
Similar Resources on Quizizz
12 questions
Computational Thinking & Searching Algorithm

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

Quiz
•
9th - 12th Grade
12 questions
Code.org Unit 6 - Lists

Quiz
•
9th - 12th Grade
11 questions
GCSE Computer Science Paper 2: Topic 1

Quiz
•
10th Grade
18 questions
Binary vs. Sequential Search

Quiz
•
10th Grade
19 questions
Topic 1: Keywords

Quiz
•
10th - 11th Grade
18 questions
Binary and Linear Search

Quiz
•
9th - 12th Grade
19 questions
AQA GCSE Computer Science - 3.1.3 Binary Search

Quiz
•
8th - 10th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade