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
Search Algorithms

Quiz
•
9th - 11th Grade
11 questions
Unit 2.1 - Algorithms L1 & L2

Quiz
•
10th Grade
15 questions
01 Searching Algorithms

Quiz
•
9th - 12th Grade
15 questions
Algorithms

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

Quiz
•
9th - 12th Grade
14 questions
CSP - Vocab Quiz JAN2023

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

Quiz
•
8th - 10th Grade
12 questions
Computational Thinking & Searching Algorithm

Quiz
•
9th - 10th Grade
Popular Resources on Quizizz
20 questions
math review

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

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
19 questions
Math Review

Quiz
•
3rd Grade
45 questions
7th Grade Math EOG Review

Quiz
•
7th Grade
Discover more resources for Computers
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Investing

Quiz
•
9th - 12th Grade
20 questions
Insurance

Quiz
•
9th - 12th Grade
20 questions
MCAS Biology Review

Quiz
•
9th - 10th Grade
20 questions
Paying for College

Quiz
•
9th - 12th Grade
20 questions
Banking

Quiz
•
9th - 12th Grade
20 questions
Managing Credit

Quiz
•
9th - 12th Grade