Big O Notation Revision

Big O Notation Revision

12th Grade

12 Qs

quiz-placeholder

Similar activities

Understanding Algorithm Complexity and Big O Notation (video)

Understanding Algorithm Complexity and Big O Notation (video)

12th Grade

11 Qs

Sorting Algorithms

Sorting Algorithms

9th - 12th Grade

10 Qs

A-Level Algorithms Time Complexity

A-Level Algorithms Time Complexity

12th Grade

7 Qs

Understanding Linear Search Algorithm

Understanding Linear Search Algorithm

12th Grade

11 Qs

40. Algorithm  - Algorithm Efficiency Quiz

40. Algorithm - Algorithm Efficiency Quiz

9th - 12th Grade

11 Qs

2.3.1(f) Binary Search

2.3.1(f) Binary Search

12th Grade

8 Qs

Algorithmic Strategies

Algorithmic Strategies

12th Grade

10 Qs

A Level CS 2.3: Algorithms - Analysis & Design

A Level CS 2.3: Algorithms - Analysis & Design

12th Grade

16 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?