Design n Analysis of Algorithm

Design n Analysis of Algorithm

University

15 Qs

quiz-placeholder

Similar activities

Python Quiz

Python Quiz

University

11 Qs

Stacks

Stacks

University

20 Qs

DSA_3

DSA_3

University

19 Qs

Sort

Sort

University - Professional Development

15 Qs

Fundamentals of Data Structures-Test 1-Unit-1

Fundamentals of Data Structures-Test 1-Unit-1

University

20 Qs

Data Structures - Training: Quiz 1

Data Structures - Training: Quiz 1

University

11 Qs

Data structures

Data structures

University

12 Qs

Knowledge Knockout[Quiz Round](2nd-4th years)

Knowledge Knockout[Quiz Round](2nd-4th years)

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?