Big O Notation Revision

Big O Notation Revision

12th Grade

12 Qs

quiz-placeholder

Similar activities

Searching & Sorting Algorithms

Searching & Sorting Algorithms

10th Grade - University

16 Qs

Sort

Sort

9th - 12th Grade

10 Qs

Merge, Bubble, Insertion, Selection, Time Complexity

Merge, Bubble, Insertion, Selection, Time Complexity

9th - 12th Grade

12 Qs

IB CS Topic 4.2

IB CS Topic 4.2

11th - 12th Grade

9 Qs

IB Computer Science

IB Computer Science

11th - 12th Grade

9 Qs

CCIS 104 Quiz #1.2

CCIS 104 Quiz #1.2

12th Grade

13 Qs

7.5 Standard Methods of Solution Cambridge IGCSE 0478

7.5 Standard Methods of Solution Cambridge IGCSE 0478

10th Grade - University

10 Qs

Heap Sort in Java

Heap Sort in Java

12th Grade

10 Qs

Big O Notation Revision

Big O Notation Revision

Assessment

Quiz

Computers

12th Grade

Hard

Created by

B McCue

Used 22+ 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?