AOA Quiz

AOA Quiz

University

12 Qs

quiz-placeholder

Similar activities

Algorithms

Algorithms

University

8 Qs

Prog2

Prog2

University

16 Qs

DAA Quiz

DAA Quiz

University

10 Qs

DSA & Code Snippets

DSA & Code Snippets

University

15 Qs

EIGRP Characteristics

EIGRP Characteristics

University

10 Qs

IVY-TATA STEEL-ML-AUGUST-11

IVY-TATA STEEL-ML-AUGUST-11

11th Grade - University

14 Qs

Activity 2: Fundamentals of Algorithmic Problem

Activity 2: Fundamentals of Algorithmic Problem

University

10 Qs

Directions Game

Directions Game

University

10 Qs

AOA Quiz

AOA Quiz

Assessment

Quiz

Education

University

Medium

Created by

SALIM SHAIKH

Used 1+ times

FREE Resource

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

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?