- Type
- Quiz
- Course
- CS502 Fundamentals of Algorithms
- Size
- PDF 1.3 MB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 1, 2, 3 of 108. Download the file for all 108 pages.
Q1. Dijkstra’s Algorithm is used to solve _____________ problems.
Correct answer: Single source shortest path
Q2. Which of the following is the most commonly used data structure for implementing Dijkstra’s Algorithm?
Correct answer: Min priority queue
Q3. What is the time complexity of Dijikstra’s algorithm?
Correct answer: O(N2)
Q4. Dijkstra’s Algorithm cannot be applied on ______________
Correct answer: Graphs having negative weight function
Q5. How many priority queue operations are involved in Dijkstra’s Algorithm?
Correct answer: 3
Q6. How many times the insert and extract min operations are invoked per vertex?
Correct answer: 1
Q7. The maximum number of times the decrease key operation performed in Dijkstra’s algorithm will be equal to ___________
Correct answer: Total number of edges
Q8. What is running time of Dijkstra’s algorithm using Binary min- heap method?
Correct answer: O(ElogV)
Q9. The running time of Bellmann Ford algorithm is lower than that of
Correct answer: False
Q10. Dijkstra’s Algorithm run on a weighted, directed graph G={V,E} with non- negative weight function w and source s, terminates with d[u]=delta(s,u) for all vertices u in V.
Correct answer: True
Q11. Dijkstra’s Algorithm is the prime example for ___________
Correct answer: Greedy algorithm
- Computing the strongly connected components of a graph is a generalization of the problem to determine whether a digraph is strongly connected or not.
True
- If u finds yourself in maze the better traversal approach will be:
BFS and DFS are valid
- In ----------- algorithm, at any time, the subset of edges A forms
Prim’s
Related CS502 files
All CS502 files →- CS502 Highlighted Handouts by VU Sparky Highlighted PDF 2.6 MB
- CS502 Final Term Solved File 4 by Waqar Siddhu Final term PDF 2.7 MB
- CS502 Quiz 1 Set 2 by VU Topper RM Quiz PDF 1 MB
- CS502 Assignment 2 Solution Assignment PDF 211 KB
- CS502 Solved Quiz 3 by Iqra Azhar Quiz PDF 461 KB
- CS502 Quiz Mega File 3 Quiz PDF 7.2 MB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.