
Quiz2
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Prasenjit Das
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the appropriate data structure for Prim's minimum spanning tree?
Stack
Linear Queue
Tree
Priority Queue
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is represented by asymptotic notation O(1)
Constant time
linear time
time less
exponential time
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is the appropriate data structure for DFS algorithm?
queue
stack
array
tree
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
time complexity for recurrence relation T(n)=2T(n/2)+n
O(log n)
O(n log n)
O(n^2)
O(2 log n)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fractional Knapsack is efficiently solved by
Dynamic programming
Greedy algorithm
Divide conquer
none of these
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
0/1 knapsack can be solved by greedy algorithm?
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
which algorithm is used to solve single source shortest path problem in a graph with negative edge?
dijkstra
bellman ford
floyd warshal
none of these
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
12 questions
Centros de datos perimetral
Quiz
•
University
8 questions
Câu hỏi về phần mềm Kodu
Quiz
•
1st Grade - University
10 questions
Modelo Cliente/Servidor
Quiz
•
University
10 questions
Node.js
Quiz
•
University
10 questions
6ta generación de computadoras
Quiz
•
University
10 questions
Software Testing
Quiz
•
University
10 questions
paquetes contables lección 1
Quiz
•
11th Grade - Professi...
10 questions
Memorias
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
