Algorithm Quizz 2

Algorithm Quizz 2

University

10 Qs

quiz-placeholder

Similar activities

MATHBOT CODES

MATHBOT CODES

University

10 Qs

Batboy

Batboy

KG - University

15 Qs

Dr. Vikram Sarabhai

Dr. Vikram Sarabhai

6th Grade - University

10 Qs

Hiểu biết về covid 19

Hiểu biết về covid 19

University

10 Qs

International Politics Uni Basics

International Politics Uni Basics

University

10 Qs

Fundamental of metal casting

Fundamental of metal casting

University

15 Qs

QUESTIONS CEREBELO

QUESTIONS CEREBELO

University

10 Qs

only check box but some only one answer

only check box but some only one answer

KG - University

11 Qs

Algorithm Quizz 2

Algorithm Quizz 2

Assessment

Quiz

Other

University

Practice Problem

Hard

Created by

Sivaranjani RS

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is time complexity?

The amount of memory used by an algorithm
The amount of time taken by an algorithm to run
The input size of an algorithm
The output size of an algorithm

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following is not an example of asymptotic notation?

O(n)
Ω(n)
Θ(n)
A(n)

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following statements about space complexity is true?

Space complexity is the amount of memory used by an algorithm
Space complexity is the time taken by an algorithm to run
Space complexity is the input size of an algorithm
Space complexity is the output size of an algorithm

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the best case time complexity of a linear search algorithm?

O(n)
O(1)
O(log n)
O(n log n)

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following is an example of worst case time complexity?

O(n)
O(1)
O(log n)
O(n log n)

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following is an example of constant time complexity?

O(1)
O(n)
O(log n)
O(n log n)

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following is not an asymptotic notation used to represent the upper bound of an algorithm's time complexity?

a) O
b) Ω
c) Θ
d) ω

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?