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

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

Views: 4696

.

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

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

### 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.

&

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

izzah khan updated their profile
1 minute ago
29 minutes ago
Time (bestie) posted a discussion

### ہمت کرو جینے کو تو اک عمر پڑی ہے

31 minutes ago
58 minutes ago
cool_heart updated their profile
1 hour ago
+ ! ! ! ! A∂εм updated their profile
1 hour ago
Silent Boy left a comment for Afza
2 hours ago
+ + + **noor!! ! ! ! ! updated their profile
3 hours ago
Tamana joined + M.Tariq Malik's group

### MGMT715 Advanced Transportation & Logistics Management

3 hours ago
Tamana joined + M.Tariq Malik's group

### MGMT629 Crisis Management

3 hours ago
Tamana joined + M.Tariq Malik's group

### MGMT628 Organizational Development (alt. code=HRM628)

3 hours ago
Tamana joined + M.Tariq Malik's group

3 hours ago

1

2

3