
4th_DAA

Quiz
•
Computers
•
University
•
Medium
Sowmya D
Used 1+ times
FREE Resource
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
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
DAA-UNIT-4 QUIZ

Quiz
•
University
10 questions
27Mar

Quiz
•
University
6 questions
time and space trade off

Quiz
•
University
11 questions
Approach in problem solving

Quiz
•
University
10 questions
Weekly Quiz 1

Quiz
•
4th Grade - Professio...
10 questions
Construct 3 Quiz - Game Development

Quiz
•
2nd Grade - Professio...
14 questions
Digital Literacy Vocabulary 1

Quiz
•
University
10 questions
Blockchain

Quiz
•
5th Grade - Professio...
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University