Search Header Logo

19.1 Algorithms Cambridge iA 9618

Authored by Stephen Ling-Winston

Computers

12th Grade

Used 5+ times

19.1 Algorithms Cambridge iA 9618
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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)

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers