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-

                     Spring 2015

              ASSIGNMENT #3

Deadline

Your assignment must be uploaded/submitted at or before 24thJuly 2015 Uploading instructions Please view the assignment submission process document provided to you by the Virtual University to upload the assignment.

Rules for Marking

It should be clear that your assignment will not get any credit if:

O The assignment is submitted after due date.

O The submitted assignment does not compile or run. Or corrupt file

O The assignment is copied.

O Submit your solution in Microsoft Word document “doc/docx”

Objectives

This assignment will help you to understand the concepts of Knapsack Problem and Huffman encoding.

The grip on these topics will help you to understand the cores of Dynamic Programming and Greedy paradigms and increase your confidence to apply these strategies for real world problems.

Guidelines

1.In order to attempt this assignment you should have full command on Lecture # 17to Lecture # 26

and also read the text book “Introduction to Algorithms” byThomaH.Cormen particularly for Huffman encoding technique for compressing the data.

2.In order to solve this assignment you have strong concepts about following topicsüKnapsack Problem(Dynamic Programming)üRadix Sort Books to read For solution Cormen, Leiserson, Rivest, and Stein (CLRS) 2001, Introduction to Algorithm, (2nd ed.) McGraw Hill.

Estimated Time

4 Hours For Question1 maximum time is 2.5 hours ,divide the time according to your ease 1.5 hour will enough to understand the logics0/1 Dynamic Programming and in 1 hour can design your problem solution according to given scenario; and for second problem focus on the radix sort and you can develop all this in 1.5 hour.

It all depends upon your sheer concentration.

Question# 1(10) Let’s assume,

You are working in Multinational Organization XYZ and your company is going to launch projects at broader level. Your Company has 140 Billion $ for investment. You area Business analyst in your company and you have to develop the strategy to maximize the earned profit following the given limits; projects Are to be launched in the year 2016.

•First project is about Research and Development of underdeveloped countries which has cost 40 billion $ and the profit earned will be54 Billion $, and

•The second project is to launch the Software Industries for security Enhancements in different countries which has cost 60 billion$ and profit earned will be 40billion $.

•The Third project is relating to Launch the Industry Plants Nano Technology design for the computing purposes the cost is 70 Billion $ giving the profit of

72 billion $

.

•The fourth project is to launch quality Medicine Formation

(Pharmaceutical Oriented) project to serve Humanity and has cost 76

billion

$ and profit is 84 billion $ and

 •There is also fifth project which is relating to Chemical Industries in many countries which has cost 36 billion $ giving the profit of 40 billion $

.

Find out the projects to be selected to earn the maximum profit using

0-1 Knapsack you may assign explicit simple variables for your ease to proceed the calculations.

 

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

.

+ 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

Please Discuss here about this assignment.Thanks
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.

Question# 2 (10)
Run the Radix sort on the following array of strings including characters, show all passes.
[Sour, Dual, Near, Fear, Fair, Main, Fame, Rear, Shut, Deer]

Sour Fam[e] fe[a]r F[a]ir [D]eer
Dual Dua[l] Ne[a]r F[a]me [D]ual
Near Mai[n] Re[a]r M[a]in [F]air
Fear Fea[r] Du[a]l D[e]er [F]ame
Fair Nea[r] De[e]r F[e]ar [F]ear
Main Rea[r] Fa[i]r N[e]ar [M]ain
Fame Dee[r] Ma[i]n R[e]ar [N]ear
Rear Fai[r] Fa[m]e S[h]ut [R]ear
Shut sou[r] Sh[u]t S[o]ur [S]hut
Deer Shu[t] So[u]r D[u]al [S]our

is ka bare me smjha b den ye kese hua
or ye sahi b he k ni

radix sort concept smjha den plzzzzzzzzzz

Video Tutorials | "Dynamic Programming: Knapsack Problem"


Video Url: http://goo.gl/AIqLpK

Greedy Algorithmshttp://goo.gl/OCDeIm

The Knapsack Problem PDF

Attachments:

Question No.2

with Ri8 Techniques

Enjoy

plzzzzz is ka concept b clear kr den

radix sort hota kia he

Any idea solution of Question No.1 ??

Nina and Hadi GreaT! All other members are strongly encourage to share your valuable IDEAs, Please

Q1 Solution

1st and 4th Project will be selected to earn maximum profit using 0/1 knapsack method

RSS

Latest Activity

Nisha Khan joined + M.Tariq Malik's group
2 minutes ago
Profile IconM@nZi B@jw@ and ALEEM QAMAR joined + M.Tariq Malik's group
18 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + M.Tariq Malik's discussion MGT502 GDB Related to Personality Fall 2019 Solution & Discussion Last Date: 22-11-2019 in the group MGT502 Organizational Behavior
19 minutes ago
Profile IconNisha Khan and Waseem Aziz joined + M.Tariq Malik's group
20 minutes ago
Aakash Ahmed replied to MIT's discussion Visual Programing (CS411) Assignment#01 Deadline Date = 18-11-2019 in the group CS411 Visual Programming
24 minutes ago
Profile IconAakash Ahmed and Ikra butt joined + M.Tariq Malik's group
24 minutes ago
ALEENA replied to ٣ دن's discussion مرتا ہوں خامشی پر
28 minutes ago
Syeda replied to Syeda's discussion MTH601 - Operations Research solved....
35 minutes ago
Nouman Butt replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
37 minutes ago
Mahwish shakeel joined + M.Tariq Malik's group
40 minutes ago
+ ! ❤INNOCENT❤ posted a discussion
45 minutes ago
ALEENA liked + M.Tariq Malik's group MTH501 Linear Algebra
48 minutes ago
Aakash Ahmed replied to + M.Tariq Malik's discussion MTH601 Assignment No 01 Fall 2019 Solution & Discussion in the group MTH601 Operations Research
52 minutes ago
Aakash Ahmed joined + M.Tariq Malik's group
52 minutes ago
Muhammad Hassan joined + M.Tariq Malik's group
55 minutes ago
Profile IconMuhammad Hassan, RJ Zeeshan and ALEENA joined + M.Tariq Malik's group
55 minutes ago
Muhammad Hassan joined + M.Tariq Malik's group
56 minutes ago
Muhammad Hassan joined + M.Tariq Malik's group
1 hour ago
Profile IconHamza, Ali dolphine police and Aijaz khan joined + M.Tariq Malik's group
1 hour ago
+ ! ! ! ! Mehαr Mαh꧂ replied to + M.Tariq Malik's discussion MGT502 GDB Related to Personality Fall 2019 Solution & Discussion Last Date: 22-11-2019 in the group MGT502 Organizational Behavior
1 hour ago

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

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