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

www.vustudents.ning.com

 www.bit.ly/vucodes + Link For Assignments, GDBs & Online Quizzes Solution www.bit.ly/papersvu + 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

# Assignment No. 04 Semester: Fall 2015 CS502: Fundamentals of Algorithms

Assignment No. 04
Semester: Fall 2015

CS502: Fundamentals of Algorithms

Total Marks: 20

Due Date:10/02/2016

Instructions

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

+ 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?

Views: 9218

.

+ 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

dono MST tree ka ans same ana chahe. ye lein correct solution.

Attachments:

## Latest Activity

Pasha updated their profile
8 minutes ago
Mr A updated their profile
34 minutes ago
Fakhar-Ur-Rehman joined + M.Tariq Malik's group

### CS206 Introduction to Network Design & Analysis

51 minutes ago
1 hour ago
لاحاصل updated their profile
1 hour ago

### STAT404 Regression and Correlation

1 hour ago
2 hours ago
Sponge Bob updated their profile
2 hours ago
لاحاصل, Tayyaba Ahmad., Mr A and 2 more joined Virtual University of Pakistan
2 hours ago
Laila liked Mani Siddiqui BS VIII's discussion Happy BirthDay Dear Tariq Bhai
2 hours ago
Laila liked + ! ! ! ! ! ! ! ! ђคlєє๓ค !'s discussion happy birthday tariq sirr
2 hours ago
HAMDAN updated their profile
2 hours ago

1

2

3