Algorithm Quizz 2

Algorithm Quizz 2

University

10 Qs

quiz-placeholder

Similar activities

DAA Lab Viva

DAA Lab Viva

University

10 Qs

K-Nearest Neighbors Quiz

K-Nearest Neighbors Quiz

University

10 Qs

QUIZ3:-DATA STRUCTURE

QUIZ3:-DATA STRUCTURE

University

10 Qs

Algorithm Quizz 1

Algorithm Quizz 1

University

7 Qs

Cryptography & Network Security

Cryptography & Network Security

University

15 Qs

DAA-UNIT III

DAA-UNIT III

University

10 Qs

Sorting Quiz

Sorting Quiz

University - Professional Development

15 Qs

Suprize Test - 6.10.2022

Suprize Test - 6.10.2022

University

10 Qs

Algorithm Quizz 2

Algorithm Quizz 2

Assessment

Quiz

Other

University

Hard

Created by

Sivaranjani RS

Used 5+ times

FREE Resource

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) ω

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?