subject
Computers and Technology, 04.06.2021 02:00 Kaesy24

Give a decision problem corresponding to each of the search problems given below. (a) β€’ Input: A set of classes to be scheduled. A list of pairs of the classes which can not be scheduled during the same period.
β€’ Output: The largest set of classes that can all be scheduled during the same period.
Solution
β€’ Input: A set of classes to be scheduled. A list of pairs of the classes which can not be scheduled during the same period. An integer k.
β€’ Output: "Yes" if there is a set of k classes that can be all scheduled during the same period. "No" if there is no set of k classes that can all be scheduled at the same time.
b) β€’ Input: A set of classes to be scheduled. A list of pairs of the classes which can not be scheduled during the same period.
β€’ Output: A schedule for the classes that uses the smallest number of periods.
c) β€’ Input: A list of items, each with a value and a weight. The values and weights of the items are positive integers. A positive integer W.
β€’ Output: A subset of the items whose total weight is at most W and whose total value is as large as possible.
Solution
β€’ Input: A list of items, each with a value and a weight. The values and weights of the items are positive integers. A positive integer W. A positive integer V.
β€’ Output: "Yes" if there is a subset of the items whose total value is at least V and whose total weight is at most W. Output "No", otherwise.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:00
Which of the following does 3d animation create an illusion of on the screen? a. depth b. emotion c. length d. dialogue
Answers: 1
question
Computers and Technology, 23.06.2019 01:30
How do you set up a slide show to play continuously, advancing through all the slides without requiring your interaction? a. click set up slide show, and then select the loop continuously until β€˜esc' and show without narration options. b. click set up slide show, and then select the loop continuously until β€˜esc' and use timings, if present options. c. click set up slide show, and then select the show presenter view and use timings, if present options. d. click set up slide show, and then select the show without animation and browsed at a kiosk (full screen) options.
Answers: 3
question
Computers and Technology, 23.06.2019 06:20
What is a point-in-time measurement of system performance?
Answers: 3
question
Computers and Technology, 23.06.2019 06:30
Which option correctly describes a dbms application? a. software used to manage databases b. software used to organize files and folders c. software used to develop specialized images d. software used to create effective presentations
Answers: 1
You know the right answer?
Give a decision problem corresponding to each of the search problems given below. (a) β€’ Input: A se...
Questions
question
Mathematics, 13.10.2020 01:01
question
Mathematics, 13.10.2020 01:01
question
Chemistry, 13.10.2020 01:01
question
Mathematics, 13.10.2020 01:01
question
Mathematics, 13.10.2020 01:01
question
Mathematics, 13.10.2020 01:01
question
Mathematics, 13.10.2020 01:01
Questions on the website: 13722361