19.1 Algorithms Cambridge iA 9618

19.1 Algorithms Cambridge iA 9618

12th Grade

20 Qs

quiz-placeholder

Similar activities

Quiz on Standard Algorithms

Quiz on Standard Algorithms

10th Grade - University

20 Qs

Algorithms

Algorithms

3rd - 12th Grade

15 Qs

Data Structure

Data Structure

12th Grade - University

15 Qs

laila comel tummy busuk

laila comel tummy busuk

9th - 12th Grade

20 Qs

Data Structures

Data Structures

12th Grade

15 Qs

Software Design and Development: Algorithm Quiz

Software Design and Development: Algorithm Quiz

11th - 12th Grade

15 Qs

Practice for AP Java Quiz #13 Sorting

Practice for AP Java Quiz #13 Sorting

9th - 12th Grade

20 Qs

AQA Computer Science GCSE - 3.1 Fundamentals of algorithms

AQA Computer Science GCSE - 3.1 Fundamentals of algorithms

10th - 12th Grade

15 Qs

19.1 Algorithms Cambridge iA 9618

19.1 Algorithms Cambridge iA 9618

Assessment

Quiz

Computers

12th Grade

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Discover more resources for Computers