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

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.

# CS702 Assignment No 02 Solution & Discussion Due Date: Dec 10, 2016

CS702 Assignment No 02 Solution & Discussion Due Date: Dec 10, 2016

CS702 - Advanced Algorithms Analysis and Design Assignment No. 2 Solution Fall 2016 Due Date: Dec 10, 2016

CS702: Advanced Algorithm Analysis and Design

Assignment No.2                     MS (CS), Fall 2016                    Maximum Points: 50

Due Date: 10th December, 2016

Instructions

The purpose of this assignment is to give you hands on practice. It is
expected that students will solve the assignments themselves. Following
rules will apply during the evaluation of assignment.

v  Cheating from any source will result in zero marks in the
assignment.

v  Any student found cheating in any of the two assignments submitted
will be awarded "F" grade in the course.

v  No assignment after due date will be accepted

Question No. 1 (25 Points)

For the sequence of matrices, given below, compute the order of the product, A1.A2.A3.A4, A5, A6  in such a way that minimizes the total number of scalar multiplications, using Dynamic Programming.

Order of A1 =  30 x 35

Order of A2 =  35 x 15

Order of A3 =  15 x 5

Order of A4 =  5 x 10

Order of A5 =  10 x 20

Order of A6 =  20 x 25

Question No. 2 (25 Points)

a)      Prove that 5.n2 + 10.n + 16 Î Q(n2)

b)      Prove that 2.n3 + 3.n + 10 Î O(n4)

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

.

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

### Replies to This Discussion

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. Read More>>

Note:-

For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.

For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.

Or visit this link

&

.•°How to Download past papers from study groups°•.

sir plz give me answer of question 2

i hav compute the final cost table. bt one thing i cant understand that how we know the order of matrix. as given in lecture of four matrixs as ((A1.A2).(A3.A4))

mera sol mein m[1,4],m[16] aor m[2,6]  aap se match nahin krta

shafique ap tele karo sahe tarah se

??????????

Do we have to make binary tree in question 1 optimal order? tell fast

and one more thing i don't have idea about CS 701 & 702 so please send me notes that i could take paper and pass. please help me yr?

## Latest Activity

1 minute ago
zeeshanahmadthoughts posted a blog post

### listen from yourself

12 minutes ago
+ ! ! ! ! PsyChO ! ! ! ! + posted a blog post

### !!!!Doob k Mar jao!!!!

14 minutes ago
shamsa munir, Muhammad Rahman, Kiran Naureen and 7 more joined Virtual University of Pakistan
14 minutes ago
18 minutes ago
иαвєєℓ αнмє∂ joined + M.Tariq Malik's group

### CS607 Artificial Intelligence

20 minutes ago
Alone Struggler liked مخلص's discussion iPhone SE 2. AA RAHA HAI
51 minutes ago
Alone Struggler liked stylo's discussion .....................
59 minutes ago
1 hour ago
1 hour ago
1 hour ago
مخلص posted a discussion

1 hour ago

1

2

3