- Computer Science Engineering (CSE)
- Design and Analysis of Algorithms
- What is the objective of the knapsack pr...

Q. |
## What is the objective of the knapsack problem? |

A. | to get maximum total value in the knapsack |

B. | to get minimum total value in the knapsack |

C. | to get maximum weight in the knapsack |

D. | to get minimum weight in the knapsack |

Answer» A. to get maximum total value in the knapsack | |

Explanation: the objective is to fill the knapsack of some given volume with different materials such that the value of selected items is maximized. |

View all MCQs in:
Design and Analysis of Algorithms

- Which of the following statement about 0/1 knapsack and fractional knapsack problem is correct?
- The result of the fractional knapsack is greater than or equal to 0/1 knapsack.
- The Knapsack problem is an example of
- Which of the following problems is equivalent to the 0-1 Knapsack problem?
- The 0-1 Knapsack problem can be solved using Greedy algorithm.
- Fractional knapsack problem is also known as
- Fractional knapsack problem is solved most efficiently by which of the following algorithm?
- Time complexity of fractional knapsack problem is
- Fractional knapsack problem can be solved in time O(n).
- The main time taking step in fractional knapsack problem is

Login to Continue

It will take less than 2 minutes

Report MCQ