T-Level DPDD: Searching & Sorting Algorithms Quiz

Quiz
•
Computers
•
11th Grade
•
Hard
Sara Burton
Used 1+ times
FREE Resource
27 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the simplest method of searching a data set, often referred to as a 'serial' search?
Binary search
Linear search
Hash search
Tree search
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a linear search, what happens if the item being searched for is not found in the data set?
The search continues indefinitely
The algorithm must be able to deal with this
The search starts over from the beginning
The search ends immediately
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a benefit of using a linear search?
The list must be ordered
It is very slow when searching lists with vast quantities of data items
It can carry out a search on any type of data
It requires complex program code
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a key requirement for a binary search to work as intended?
The data should be in a sorted format
The data should be in a random format
The data should be in a reverse order
The data should be in a tree structure
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a binary search, what happens if the search value is lower than the middle of the array interval?
The interval is changed to the upper half of the array
The interval is changed to the lower half of the array
The search ends immediately
The search starts over from the beginning
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a drawback of using a binary search?
Faster performance than a linear search
Data must be sorted (ordered) first
Can carry out a search on any type of data
Simpler to write program code
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a benefit of using a binary search over a linear search?
The list does not have to be ordered
It is very slow when searching lists with vast quantities of data items
Faster performance because the data that requires searching is halved at each stage
It requires complex program code
Create a free account and access millions of resources
Similar Resources on Wayground
22 questions
CSA unit1 vocabulary quiz

Quiz
•
11th Grade
26 questions
SKT5 : Bab 3 : a) Bahasa Penskripan Klien

Quiz
•
10th - 12th Grade
25 questions
Algorithms - python (GCSE)

Quiz
•
10th - 12th Grade
30 questions
Computer Science GCSE General Knowledge Quiz

Quiz
•
11th Grade
32 questions
VB.NET

Quiz
•
11th Grade
22 questions
Round 1: Hack The Quest

Quiz
•
8th Grade - University
23 questions
Latihan Jelang UAS I XI

Quiz
•
11th Grade
25 questions
ONE 6th FORM Linear and Binary Search

Quiz
•
11th 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