Search Header Logo

DAA Quiz

Authored by SURESH K

Computers

University

Used 2+ times

DAA Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

41 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Kruskal’s algorithm is used to ______

a) find minimum spanning tree

b) find single source shortest path

c) find all pair shortest path algorithm

d) traverse the graph

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Dynamic Programming is often used for (choose all that apply):

Optimization problems that involve making a choice that leave one or more subproblems to be solved.

Problems previously solved using divide and conquer that have over lapping subproblems

Non polynomial solution problems

Subproblems where resources are shared

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What two pieces of information allow you to analyse an algorithm?

Time Complexity
Space Complexity
Size Complexity
Complex Complexity
Simplicity Complex

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What order of complexity does this graph represent?

Exponential

Polynomial

Linear

Logarithmic

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What is the worst case running time of the above pseudo code?

O(n)
O(n log n)
O(n2)
O(n3)

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What is the worst case running time of the above pseudo code?

O(2)
O(n)
O(n-2)
O(n2)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What order of complexity does this graph represent?

Exponential

Polynomial

Linear

Logarithmic

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?