CSE5311 FinalExamPractice
CSE5311 FinalExamPractice
CSE5311 FinalExamPractice
CSE 5311
Final Exam Practice
Questions
PART I. False and True (10 x 1pts=10pts)
PART II. Multiple Choices (10 x 3pts=30 pts)
PART III. Algorithm Questions (6 x 10pts=60pts)
How
Homework Assignments
Lectures
Textbooks
Solution: False. Dijkstras algorithm always visits each node at most once; this
is why it produces an incorrect result in the presence of negative-weight edges.
Dept. CSE, UT Arlington CSE5311 Design and Analysis of Algorithms 4
Multiple Choices
Which of the following algorithms can be used to solved
single source or all-pairs shortest paths problem in general
non-negative weighted graph. [c, d, e]
a. Breadth-first search
b. Depth-first search
c. Bellman-Ford algorithm
d. Dijkstra's algorithm
e. The Floyd-Warshall algorithm