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
15 questions
AP CSP Unit 10 Algorithms

Quiz
•
12th Grade
15 questions
MYSQL

Quiz
•
12th Grade
15 questions
OCR A2 Computer Science Algorithms Quiz

Quiz
•
12th Grade
15 questions
UTS INFORMATIKA PILIHAN GANDA SEMESTER 1

Quiz
•
9th - 12th Grade
19 questions
Searching and sorting algorithm quiz

Quiz
•
12th Grade
18 questions
Unit 8 Algorithms and Recursion Quiz

Quiz
•
9th - 12th Grade
20 questions
IBDP Computer Science: abstract data structures

Quiz
•
12th Grade
25 questions
Binary Search Tree

Quiz
•
11th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade