Understanding Asymptotic Notations

Understanding Asymptotic Notations

12th Grade

15 Qs

quiz-placeholder

Similar activities

LSA3-3-4

LSA3-3-4

1st - 12th Grade

20 Qs

SAT Practice

SAT Practice

8th Grade - Professional Development

15 Qs

Unscramble

Unscramble

7th - 12th Grade

15 Qs

Unit 7- vocab

Unit 7- vocab

11th - 12th Grade

10 Qs

Basic Info.: vowels & consonants

Basic Info.: vowels & consonants

KG - 12th Grade

10 Qs

Review Word Formation

Review Word Formation

11th Grade - University

10 Qs

Understanding Divide and Conquer

Understanding Divide and Conquer

12th Grade

15 Qs

Decoding Algorithms Quiz

Decoding Algorithms Quiz

4th Grade - University

10 Qs

Understanding Asymptotic Notations

Understanding Asymptotic Notations

Assessment

Quiz

English

12th Grade

Medium

Created by

Chandra Narsingoju

Used 3+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does Big O notation represent?

Big O notation represents the upper bound of an algorithm's time or space complexity.

Big O notation is used to compare the efficiency of different programming languages.

Big O notation measures the average case performance of an algorithm.

Big O notation indicates the exact runtime of an algorithm.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Binary search is an example of a(n) ________ algorithm.

Greedy

Dynamic programming

Backtracking

Divide-and-conquer

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does time complexity refer to in algorithms?

The amount of time required to execute an algorithm

The number of loops in an algorithm

The space required to store data in an algorithm

None

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following shows the correct relationship among some of the more common computing times on algorithms

. O(log n) < O(n) < O( n* log n) < O(2n ) < O(n2)

O(log n) < O(n) < O( n* log n) < O(n2) < O(2n )

O(n) < O(log n) < O( n* log n) < O(n2) < O(2n )  

O(n) < O(log n) < O( n* log n) < O(2n ) < O(n2)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lower bound is denoted as _______

Ω     

Θ

ω

O

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of Merge Sort in the worst case?

O(n log n)

O(n)

O(n^2)

O(log n)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which part of the array is typically used as a pivot in the simplest version of Quick Sort?

First element

Last element

Middle element

Any element, depending on implementation

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?