Search Header Logo

4th_DAA

Authored by Sowmya D

Computers

University

Used 1+ times

4th_DAA
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a backtracking algorithm?

N-queens Problem

Task Scheduling Algorithm

Subset Sum Problem

Tower of Hanoi Problem

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given items as {value,weight} pairs {{40,20},{30,10},{20,5}}. The capacity of knapsack=20. Find the maximum value output assuming items to be divisible.

60

100

80

40

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Time complexity of fractional knapsack problem is ____________

O(n log n)

O(n)

O(n2)

O(nW)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In the given graph, identify the shortest path having minimum cost to reach vertex 'e' if 'a' is the source vertex.

a-b-e

a-c-e

a-c-d-e

a-c-d-b-e

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following can traverse the state space tree only in DFS manner?

branch and bound

dynamic programming

greedy algorithm


backtracking

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when the backtracking algorithm reaches a complete solution?

It backtracks to the root

It continues searching for other possible solutions

It traverses from a different route

Recursively traverses through the same route

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For how many queens was the extended version of Eight Queen Puzzle applicable for n*n squares?

5

8

N

6

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?

Discover more resources for Computers