19.1 Algorithms Cambridge iA 9618

Quiz
•
Computers
•
12th Grade
•
Hard

Stephen Ling-Winston
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which search algorithm requires the dataset to be sorted before execution?
Binary search
Linear search
Bubble sort
Insertion sort
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of a linear search in the worst case?
O(n)
O(log n)
O(n²)
O(1)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes binary search?
It repeatedly divides the search space in half until the target is found
It checks every element one by one
It sorts data before searching
It finds an element in constant time
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the worst-case time complexity of binary search?
O(log n)
O(n)
O(n²)
O(1)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which sorting algorithm compares adjacent elements and swaps them if necessary?
Bubble sort
Insertion sort
Quick sort
Merge sort
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which sorting algorithm builds the sorted list one item at a time?
Insertion sort
Bubble sort
Selection sort
Heap sort
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the worst-case time complexity of bubble sort?
O(n²)
O(n log n)
O(n)
O(1)
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Common Algorithms

Quiz
•
9th - 12th Grade
20 questions
Algorithm questions

Quiz
•
12th Grade - University
15 questions
CPIT 201 Algorithms

Quiz
•
12th Grade - University
20 questions
Searching and Sorting

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

Quiz
•
12th Grade
15 questions
SLR5 | Algorithms

Quiz
•
12th Grade
20 questions
iGCSE Computer Science: Problem Solving

Quiz
•
9th - 12th Grade
20 questions
Sains Komputer Tingkatan 5 - 3.1.2 Atur Cara dan Carta Alir

Quiz
•
10th - 12th 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