Search Header Logo

AOA Quiz

Authored by SALIM SHAIKH

Education

University

Used 1+ times

AOA Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Dijkstra’s algorithm is used to solve __________  problems?

Network lock

All pair shortest path problem

Single source shortest path problem

Sorting

2.

MULTIPLE CHOICE QUESTION

5 mins • 3 pts

Find the optimal solution for the fractional knapsack problem making use of greedy approach. Consider-

n = 5

w = 60 kg

(w1, w2, w3, w4, w5) = (5, 10, 15, 22, 25)

(b1, b2, b3, b4, b5) = (30, 40, 45, 77, 90)

210

220

240

230

3.

OPEN ENDED QUESTION

5 mins • 2 pts

Differentiate between Dynamic Programming and Divide & Conquer strategy.


Evaluate responses using AI:

OFF

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is used for solving the N Queens Problem?

Greedy Algorithm

Backtracking

Branch and Bound

Dynamic Programming

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following sorting algorithms provide the best time complexity in the worst-case scenario?

Merge Sort

Quick Sort

Selection sort

Bubble sort

6.

OPEN ENDED QUESTION

3 mins • 2 pts

What is the drawback of Bellman ford algorithm?

Evaluate responses using AI:

OFF

7.

MULTIPLE CHOICE QUESTION

5 mins • 3 pts

Find the optimal solution for the 0/1 knapsack problem making use of dynamic programming approach. Consider-

n = 4

w = 5 kg

(w1, w2, w3, w4) = (2, 3, 4, 5)

(b1, b2, b3, b4) = (3, 4, 5, 6)

6

5

8

7

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?