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: 4698

.

+ 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

shabbir bhai plz clear m(2,5) . i think u forget to add 1000 or i am wrong plz confirm

chose the value of K=3

value of k can be K=2,3,4 . On selecting value 3 the cost is minimum.

ans of [2,5] is 7125

AlOnE_pRiNcE yes u are right i forget to add 1000 but it is modify in ms words images snapshots

AlOnE_pRiNcE this was the first solution presented after the arrival of assignment.

i hav no doubt on u r effort . thanks to u for giving us idea . stay blessed

shabbir hav eyou solved question # 2 plz help me

any body solved question # 2 plzz guide

Shabbir bhai ap ny questio No. 2 b solve keya h kia? please help me?

Bro, you can solve question 2 using following examples:

http://screencast.com/t/JrGWfJEGU

http://screencast.com/t/kZQJllv7

any body solved question # 2 plzz guide

7875 aur 9375 kasy find kia hy ??

## Latest Activity

♦_"Tooba"_♦ liked Destruido's discussion arrange the spellings
24 minutes ago
25 minutes ago
♦_"Tooba"_♦ liked Destruido's discussion Find the name of fruits
26 minutes ago
26 minutes ago
♦_"Tooba"_♦ replied to 彡ＪＫ彡❤️'s discussion Positive language
27 minutes ago
♦_"Tooba"_♦ replied to 彡ＪＫ彡❤️'s discussion عید الفطر 2020
28 minutes ago
♦_"Tooba"_♦ liked 彡ＪＫ彡❤️'s discussion عید الفطر 2020
28 minutes ago
♦_"Tooba"_♦ liked Maham Raza.'s discussion Kabhi Aesa Bhi Hota Hai.
37 minutes ago
Maham Raza. posted discussions
55 minutes ago
♦_"Tooba"_♦ liked 彡ＪＫ彡❤️'s discussion Positive language
1 hour ago
♦_"Tooba"_♦ liked Destruido's discussion Find the name of fruits
1 hour ago
♦_"Tooba"_♦ liked Destruido's discussion Find the name of fruits
1 hour ago

1

2

3