Week 7 Discussion Forum

Importance of knapsack algorithm in our daily life

Importance of knapsack algorithm in our daily life

by A.B.M Noman 192-15-2839 -
Number of replies: 0

The application of knapsack algorithms was in the construction and scoring of tests in which the test-takers have a choice as to which questions they answer. For

small examples it is a fairly simple process to provide the test-takers with such a choice. For example, if an exam contains 12 questions each worth 10 points, the test-taker needs only answer 10 questions to achieve a maximum possible score of 100 points. However, on tests with a heterogeneous distribution of point values—i.e. different questions are worth different point values— it is more difficult to provide choices. Feuerman and Weiss proposed a system in which students are given a heterogeneous test with a total of 125 possible points. The students are asked to answer all of the questions to the best of their abilities. Of the possible subsets of problems whose total point values add up to 100, a knapsack algorithm would determine which subset gives each student the highest possible score.

161 words