Algorithm Quizz 2

Algorithm Quizz 2

University

10 Qs

quiz-placeholder

Similar activities

Koperasi dan sekitarnya

Koperasi dan sekitarnya

University

10 Qs

environmental education

environmental education

University

10 Qs

EcoS5 QuizzA

EcoS5 QuizzA

University

10 Qs

GLS290 Aerial Camera

GLS290 Aerial Camera

University

10 Qs

CCHU5001_Week 3_Quiz

CCHU5001_Week 3_Quiz

University

10 Qs

Project mc²

Project mc²

2nd Grade - Professional Development

11 Qs

Teaching as Vocation and Profession

Teaching as Vocation and Profession

University

10 Qs

Usahatani Faktor Modal

Usahatani Faktor Modal

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?