<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[CS702 Assignment 2 Solution and Discussion]]></title><description><![CDATA[<p dir="auto">CS702 – Advanced Algorithms Analysis and Design<br />
Assignment 2<br />
Instructions to Solve Assignments<br />
The purpose of the assignments is to give students hands on practice. It is expected that students will solve assignments themselves. The Following rules that will apply during the evaluation of the assignment.<br />
 Cheating from any source will result in zero marks in the assignment.<br />
 Any student found cheating in any two of the assignments submitted during the course will<br />
be awarded “F” grade in the course.<br />
 No assignment after the due date will be accepted.<br />
Fall 2019</p>
<p dir="auto">Answer the following questions in your own words. Plagiarism will be checked for each question. Marks will be awarded on the basis of the answer and plagiarism report.<br />
Question 1<br />
Prove that 2.n3 + 3.n + 10  O(n4)<br />
Question 2<br />
Use Brute Force Method to find an optimal solution for the 0-1 Knapsack problem.<br />
(10 Marks) (20 Marks)<br />
(20 Marks)<br />
item weight value<br />
1 4 40<br />
2 10 60<br />
3 20 100<br />
4 10 20<br />
Question 3<br />
knapsack capacity W = 32<br />
For the sequence of matrices, given below, compute the order of the product, A1.A2.A3.A4.A5, in such a way that minimizes the total number of scalar multiplications, using Dynamic Programming.<br />
Order of A1 = Order of A2 = Order of A3 = Order of A4 = Order of A5 =<br />
10x25 25x5 5x30 30x20 20x10<br />
Fall 2019</p>
]]></description><link>https://community.secnto.com//topic/765/cs702-assignment-2-solution-and-discussion</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 21:54:07 GMT</lastBuildDate><atom:link href="https://community.secnto.com//topic/765.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 05 Dec 2019 12:20:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CS702 Assignment 2 Solution and Discussion on Mon, 27 Jan 2020 19:55:18 GMT]]></title><description><![CDATA[<p dir="auto"><strong>Q. 1 Solution:</strong><br />
<img src="https://i.imgur.com/goNZlUs.png" alt="65d91b32-5115-4161-a370-02b954666c15-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>Q. 2 Solution:</strong><br />
<img src="https://i.imgur.com/7jQ4AjB.png" alt="37b2074f-d565-4bbd-8a16-f2a87cd4fd0d-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>Q. 3 Solution:</strong><br />
<img src="https://i.imgur.com/RzBuWx2.png" alt="2292b8a3-024d-48e4-8dfb-0a2e5b89b11f-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.secnto.com//post/3536</link><guid isPermaLink="true">https://community.secnto.com//post/3536</guid><dc:creator><![CDATA[zareen]]></dc:creator><pubDate>Mon, 27 Jan 2020 19:55:18 GMT</pubDate></item></channel></rss>