Big O notation

Big O notation

12th Grade

38 Qs

quiz-placeholder

Similar activities

Digital and Information Systems (VAC)

Digital and Information Systems (VAC)

12th Grade

42 Qs

2.3.1 Algorithms

2.3.1 Algorithms

12th Grade

33 Qs

AP CSP Code.org

AP CSP Code.org

9th - 12th Grade

33 Qs

Code.org CSP Unit 5 Test Review

Code.org CSP Unit 5 Test Review

9th - 12th Grade

33 Qs

Code Uncode 2.0

Code Uncode 2.0

12th Grade

40 Qs

CS 3 Midterm 2023

CS 3 Midterm 2023

12th Grade

33 Qs

Exam 4 Review

Exam 4 Review

11th - 12th Grade

33 Qs

ONE 6th FORM Pipelining, Backtracking and Performance Modelling

ONE 6th FORM Pipelining, Backtracking and Performance Modelling

12th Grade - University

35 Qs

Big O notation

Big O notation

Assessment

Quiz

Computers

12th Grade

Medium

Created by

shaan bushra

Used 103+ times

FREE Resource

38 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Indicate constant time complexity in terms of Big-O notation

O(n)

O(1)

O(log n)

O (n^2)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Indicate exponential time complexity in terms of big-O notation

O (n)

O (n^2)

O (2^n)

O (log n)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Find the slowest time complexity

O (n)

O (n^2)

O (n!)

O (2^n)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which notation is consistent for every execution?

O (n)

O (n^2)

O (1)

O (2^n)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which notation grows in proportion to the size of the input

O (n)

O (n^2)

O (1)

O (2^n)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which notation would you usually use for a nested loop?

O (n)

O (n^2)

O (1)

O (2^n)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Indicate polynomial time complexity in terms of big-O notation

O (n!)

O (1)

O (n^2)

O (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?