We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search


+ Link For Assignments, GDBs & Online Quizzes Solution


+ Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

Assignment No. 04
Semester: Fall 2015

CS502: Fundamentals of Algorithms


Total Marks: 20


Due Date:10/02/2016


Please read the following instructions carefully before submitting assignment:

It should be clear that your assignment will not get any credit if:

  • The assignment is submitted after due date.
  • The submitted assignment does not open or file is corrupt.
  • Solution is copied from any other source.


The objective of this assignment is to;

  • Learn the working of Kruskal’s and Prim’s algorithm to find a minimum spanning tree



Consider the following graph and apply Kruskal’s and Prim’s algorithm to find a Minimum Spanning Tree (MST) (Take vertex A as starting node for Prim’s Algorithm).















Solution Guidelines:

  1. 1.      You have to apply BOTH algorithms separately to find minimum spanning tree.
  2. 2.      In both algorithms, you are required to show first THREE steps of constructing MST and then show the FINAL MST.
  3. 3.      Calculate total cost of final MST for both algorithms.


You are required to submit your solution through LMS as MS Word documentcontaining your answer.




+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

See Your Saved Posts Timeline

Views: 9231


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


Replies to This Discussion

yes this is last

plz tell is this correct solution.



To phir correct answer bata do

its really helpful ....

but i want to know that we are allow to make only two set of each one edge?

Kya h correct ans? Asfand

Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions.

CS502 assignment solution 2016


Brother...kindly see this attach file this is very helpful for building Prim algorithm...I have finished by using this....


shahid plz che


© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service