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

Assignment No. 04
Semester: Fall 2015

CS502: Fundamentals of Algorithms

 

Total Marks: 20

 

Due Date:10/02/2016

Instructions

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.

Objective

The objective of this assignment is to;

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

 

Assignment

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.

Submission

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

 

 

 

+ Click Here To Join also Our facebook study Group.

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


See Your Saved Posts Timeline

Views: 9167

.

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

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

Attachments:

Replies to This Discussion

yes this is last

plz tell is this correct solution.

Attachments:

wrong

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

Attachments:

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

Attachments:

shahid plz che

RSS

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

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