Circle the number or the number of the answer which best completes the sentence.
ID: 3852498 • Letter: C
Question
Explanation / Answer
Part A) Option 3 is correct.
Because the search will be completed in following way :(repeated values will be skipped)
Part B) Option 3 is correct.
As it is BFS so the algorithm will traverse its adjecent nodes without following hierarchy.
3->1->2->4->5
Part C) Option 1 is correct.
As spanning tree is one which traverses all the edges of the graph using the least number of edges and it can not be disconnected.
Part D) Option 3 is correct.
Because, acoording to Kruskal's algorithm the edges with the least weight are selected first.
Part E) Option 1 is correct.
Because, according to Prim's algorithm we move to that node whose weight is minimum and is adjecent to the given starting node.
Part F) Option 3 is correct.
Beacuse in Dikjstra's algorithm we form shortest path tree set which keeps tracks of the distance from a single node to all other vertices and by that we can find the shortest path from one vertex to all other vertices.
Kindly rate my answer.ThankYou.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.