Design n Analysis of Algorithm

Design n Analysis of Algorithm

University

15 Qs

quiz-placeholder

Similar activities

DATA STRUCTURE-HEAP

DATA STRUCTURE-HEAP

University

12 Qs

Linked list 1

Linked list 1

University

20 Qs

1 Binary Search Trees

1 Binary Search Trees

University

20 Qs

SMARTICUS

SMARTICUS

University

20 Qs

AlgoMania Quiz

AlgoMania Quiz

University

15 Qs

UNIT 3

UNIT 3

University

10 Qs

Quantitative Aptitude Series

Quantitative Aptitude Series

University

20 Qs

Heaps

Heaps

University

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