Big O Notation Revision

Big O Notation Revision

12th Grade

12 Qs

quiz-placeholder

Similar activities

Sorting & Searching Algorithms

Sorting & Searching Algorithms

12th Grade

16 Qs

Algorithms Quiz

Algorithms Quiz

12th Grade

13 Qs

Y13 Big O notation

Y13 Big O notation

10th Grade - University

16 Qs

Quick Sort Quiz

Quick Sort Quiz

12th Grade

10 Qs

COMP 210 Final.helper

COMP 210 Final.helper

12th Grade

13 Qs

Mr Bulsara

Mr Bulsara

12th Grade

10 Qs

Understanding Linear Search Algorithm

Understanding Linear Search Algorithm

12th Grade

11 Qs

Big O Notation

Big O Notation

12th Grade

17 Qs

Big O Notation Revision

Big O Notation Revision

Assessment

Quiz

Computers

12th Grade

Hard

Created by

B McCue

Used 19+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the Big O notation O(1) signify about an algorithm's performance?

The algorithm's performance improves as the data set increases.

The algorithm's performance declines as the data set increases.

The algorithm executes in the same time regardless of the size of the data set.

The algorithm's performance is proportional to the square of the size of the data set.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Big O notation describes an algorithm that halves the data set in each pass?

O(n)

O(log n)

O(n2)

O(2n)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of algorithmic complexity is described by O(N^2)?

Constant

Logarithmic

Linear

Polynomial

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which example use is associated with the Big O notation O(N)?

Binary search

Hashing algorithm

Linear search

Quick sort

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Big O notation for an algorithm that becomes less efficient with each addition to the data set, doubling its processing time?

O(1)

O(n)

O(log n)

O(2n)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the average time complexity of a binary search on an array?

O(1)

O(log n)

O(n)

O(n2)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the worst-case space complexity of Merge Sort?

O(1)

O(log n)

O(n)

O(n log n)

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?