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
A linear search works by?
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 Wayground
15 questions
AS Computing: Data Structures

Quiz
•
10th Grade - University
16 questions
Searching & Sorting Algorithms

Quiz
•
10th Grade - University
18 questions
NEW_SMP_Mls8_Quiz

Quiz
•
7th - 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
12 questions
BJC Unit 2 Concepts Review

Quiz
•
10th Grade - University
18 questions
Search & Sort Algorithms

Quiz
•
7th - 11th Grade
16 questions
2.1 Linear and Binary Searching Algorithms

Quiz
•
8th - 10th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade