19.1 Algorithms Cambridge iA 9618

19.1 Algorithms Cambridge iA 9618

12th Grade

20 Qs

quiz-placeholder

Similar activities

Sorting & Searching Algorithms

Sorting & Searching Algorithms

12th Grade

16 Qs

SLR5 | Algorithms

SLR5 | Algorithms

12th Grade

15 Qs

Search/Sort Algorithm Recap

Search/Sort Algorithm Recap

9th - 12th Grade

18 Qs

Struktur Data

Struktur Data

9th - 12th Grade

20 Qs

UTS INFORMATIKA PILIHAN GANDA SEMESTER 1

UTS INFORMATIKA PILIHAN GANDA SEMESTER 1

9th - 12th Grade

15 Qs

Algorithms - Part 2

Algorithms - Part 2

9th - 12th Grade

20 Qs

Searching and sorting algorithm quiz

Searching and sorting algorithm quiz

12th Grade

19 Qs

Algorithms

Algorithms

3rd - 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?