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

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

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

Fundamentals of Algorithms (CS502), Assignment # 02 Fall 2018, Deadline = 25-01-2019, Total Marks = 20

Lectures Covered: This assignment covers Lectures # 19 to 28.

 

Instructions:

Please read the following instructions carefully before solving & submitting the assignment:

  1. The assignment will not be accepted after due date.
  2. Zero marks will be awarded to the assignment that does not open or the file is corrupt.
  3. The assignment file must be an MS Word (.doc/.docx) file format; Assignment will not be accepted in any other format.
  4. Zero marks will be awarded to the assignment if copied (from other student or copied from handouts or Internet).
  5. Zero marks will be awarded to the assignment if the Student ID is not mentioned in the assignment file.

 

For any query about the assignment, contact only at CS502@vu.edu.pk

Please do not post queries related to assignment on MDB.


 

Question # 1:                                                                                  10 Marks

 

Consider the following five matrices A, B, C, D and E along with their dimensions;

    A                      B                      C                      D                      E

(6×5)               (5×1)               (1×7)               (7×4)               (4×2)

Determine the Optimal Multiplication Order for above matrices using Dynamic Programming approach and also present the sequence (i.e. optimal order) in Binary Tree.

Note: Show all intermediate steps (i.e. computations)

 

Question # 2:                                                                        10 (5+5) Marks

  1. List down In and Out- Degrees of vertices of the given directed graph.

 

 

Vertex

In Degree

Out Degree

A

 

 

B

 

 

C

 

 

D

 

 

E

 

 

 

  1. How many cycles are there in the given directed graph, list all of them. Further, is there any Hamiltonian cycle in it (yes/no)?

 

 

Good Luck

+ 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: 1507

.

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

Attachments:

Replies to This Discussion

any idea about question no 1

RSS

Latest Activity

Rabia Imran posted a status
"where is the solution of 1st assignment cs301"
18 minutes ago
Rabia Imran liked Shahid's profile
20 minutes ago
Wajahat Ali replied to +M.Tariq Malik's discussion CS625 Professional Practices Assignment No 01 Spring 2020 Solution & Discussion in the group CS625 Professional Practices
36 minutes ago
Wajahat Ali joined +M.Tariq Malik's group
36 minutes ago
+ Faisal + replied to +¢αяєℓєѕѕ gιяℓ's discussion CS506 - Web Design and Development Assignment # 1 Due Date Jun 06, 2020 in the group CS506 Web Design and Development
40 minutes ago
Profile Icon+ Faisal + and zisani joined +M.Tariq Malik's group
41 minutes ago
+ ! ! ! ! ! ! !ςu††ïε ! ! replied to CUTE MUNDA's discussion cs 601 assignment 1 solution spring 2020
49 minutes ago
Profile Icon+ ! ! ! ! ! ! !ςu††ïε ! ! and Saif ur rehman joined +M.Tariq Malik's group
56 minutes ago
+ ! ! ! ! ! ! !ςu††ïε ! ! replied to Habiba's discussion CS604 Assignment No. 1 Spring 2020 Due date 02-06-2020 in the group CS604 Operating Systems
1 hour ago
+ ! ! ! ! ! ! !ςu††ïε ! ! replied to +¢αяєℓєѕѕ gιяℓ's discussion MGT211 - Introduction To Business GDB No. 1 Due Date Wednesday, June 03, 2020 in the group MGT211 Introduction To Business
1 hour ago
+ ! ! ! ! ! ! !ςu††ïε ! ! joined +M.Tariq Malik's group
1 hour ago
+ ! ! ! ! ! ! !ςu††ïε ! ! joined +M.Tariq Malik's group
1 hour ago

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

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

.