Design n Analysis of Algorithm

Design n Analysis of Algorithm

University

15 Qs

quiz-placeholder

Similar activities

Artificial Intelligence 1

Artificial Intelligence 1

University

10 Qs

27Mar

27Mar

University

10 Qs

DS- UNIT-1

DS- UNIT-1

University

20 Qs

Analysis of Algorithms

Analysis of Algorithms

University

10 Qs

DRAINER CS : Data Structures Final Review

DRAINER CS : Data Structures Final Review

University

10 Qs

C++ Searches and Sorts

C++ Searches and Sorts

University - Professional Development

15 Qs

Binary Search Tree (Recap 1)

Binary Search Tree (Recap 1)

11th Grade - University

13 Qs

Algorithms - Time Complexity

Algorithms - Time Complexity

University

10 Qs

Design n Analysis of Algorithm

Design n Analysis of Algorithm

Assessment

Quiz

Computers

University

Hard

Created by

FnF Go

Used 3+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following case does not exist in complexity theory?

Average Case

Null Case

Best Case

Worst Case

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

The complexity of linear search algorithm is

O(n)

O(log n)

O(n2)

O(n log n)

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

The complexity of Binary search algorithm is _________

O(n)

O(log)

O(n2)

O(n log n)

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

The complexity of merge sort algorithm is _________

O(n)

O(log n)

O(n2)

O(n log n)

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

The worst case complexity for insertion sort is _________

O(n)

O(log n)

O(n2)

O(n log n)

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which is used to measure the Time complexity of an algorithm Big O notation?

describes limiting behaviour of the function

characterises a function based on growth of function

upper bound on growth rate of the function

all of the mentioned

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If for an algorithm time complexity is given by O(1) then the complexity of it is ____________

constant

polynomial

exponential

none of the mentioned

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?