1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
True [87]
3 years ago
14

The 0-1 knapsack problem is the following. A thief robbing a store finds n items. The ith item is worth vi dollars and weighs wi

pounds, where vi and wi are integers. The thief wants to take as valuable a load as possible, but he can carry at most W pounds in his knapsack, for some integer W . Which items should he take?
Computers and Technology
1 answer:
icang [17]3 years ago
3 0

Step by step Explanation:

Based on what we could deduce from the above statement, the items he should take are:

  • must either take one single item or must leave the other behind,
  • and only a whole amount of an item must be taken,
  • in which an item cannot be taken more than once into his knapsack.

Hence, the thief needs to carefully determine items with an optimal value which still falls within his specified weight (W).

You might be interested in
Difference between array processor and vector processor​
Gala2k [10]

Answer:

An array is used for the storaging the paticular given size element that is either fixed or given by the user. However an vector is also used for storing purpose but the size of the table is assign automatically during the running time of the program or we say dynamic size assign to table.

5 0
3 years ago
Read 2 more answers
Localize the software problem and describe it<br>​
sweet [91]

Answer:

Do you have any idea how to get the best and most importantly I

5 0
3 years ago
What is the main purpose of software imaging?
Irina18 [472]
A is the answer for your question
5 0
4 years ago
Jabari is writing pseudocode for a new video game he wants to create. What should he include in his pseudocode?
erastova [34]

Answer:

The answer is "Option c".

Explanation:

The Pseudocode is a definition of actions in an algorithm or some other method of software engineering. It also uses regular programming language, formal conventions, and is associated with human learning rather than computer learning, and the wrong choice can be defined as follows:

  • In choice a, It is wrong because there are so many languages, and it is not easy to understand all.
  • In choice b, It is wrong because it is used for better understanding.
  • In choice d, it is wrong because words are also not only common to programmers.
5 0
3 years ago
If you were to go back in time, what games might you find kids playing at the local arcade? List and describe at least two games
Mrac [35]

Answer:

Pac-Man Battle Royale, Space Invaders Frenzy

Explanation: Pac-man Battle Royal, came out in 2011 not that long ago. Space Invaders Frenzy came out in 1978. That came out A WAY long time ago.

6 0
4 years ago
Other questions:
  • The northern and southern light occur when this interacts with the earths magnetic field.
    11·1 answer
  • Which of the following are personal video journal entries posted on the web? Select one: A. Podcasts B. Vlogs C. Blogs D. Newsgr
    14·1 answer
  • How many worksheets display in the Excel window when you create a new blank workbook?
    10·2 answers
  • HELP PLEASE ASAP!!! Does anyone know how to fix a broken iPhone which when I connect it to the charger it comes up with the Appl
    5·1 answer
  • Which of the following statements is true?
    5·1 answer
  • Which type of element is , and what is the meaning of that element?
    8·1 answer
  • design a relational database in EER for bike helmets and their reviews. a bike helmet has a name and color attributes. a bike co
    12·1 answer
  • ........... Is ready made button for defining hyperlink on a slide​
    8·1 answer
  • Write your question here (Keep it clear and simple to get the best answer)
    13·2 answers
  • While shopping online, Tucker visits a website that looks outdated and has limited reviews. Which of the following strategies sh
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!