Search Header Logo

Design n Analysis of Algorithm

Authored by FnF Go

Computers

University

Used 3+ times

Design n Analysis of Algorithm
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?