Algorithm Quizz 2

Algorithm Quizz 2

University

10 Qs

quiz-placeholder

Similar activities

Stack Data Structure

Stack Data Structure

University

10 Qs

QUIZ3:-DATA STRUCTURE

QUIZ3:-DATA STRUCTURE

University

10 Qs

SCHEDULING ALGORITHMS

SCHEDULING ALGORITHMS

University

10 Qs

Algorithm Quizz 1

Algorithm Quizz 1

University

7 Qs

AlgoWhiz Quiz

AlgoWhiz Quiz

University

15 Qs

K-Nearest Neighbors Quiz

K-Nearest Neighbors Quiz

University

10 Qs

Clustering

Clustering

University

10 Qs

Data Mining Terminology 1

Data Mining Terminology 1

University

15 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?