CSA06 - Model - Exam - 2024 - Set-5
CSA06 - Model - Exam - 2024 - Set-5
7 10 CO4 BL-5
Consider the following tasks with their deadlines and profits. Design a greedy
technique to Schedule the tasks in such a way that they produce maximum profit
after being executed
S. No. 1 2 3 4 5
9 10 CO4 BL-5
Jobs J1 J2 J3 J4 J5
Deadlines 2 2 1 3 4
Profits 20 60 40 100 80
1. Examine the given a set of non negative integers and a value sum and find the
subset of the given set whose sum is equal to the given sum using backtracking.
10 10 CO5 BL-4
(i) Given : Set[]={3,34,4,12,5,2} and sum=30
(ii) Given : Set[]={1,2,1} and sum=3
1. Solve, the given 6 items of different weights and bins each of capcity 10, assign
each item to a bin such that number of total bins used is minimum.
(i)Bin Capacity = 10
Item 1 2 3 4 5 6 7
10 Weight 2 5 4 7 1 3 8 10 CO5 BL-3
(ii)Bin Capacity = 10
Item 1 2 3 4 5 6
Weight 5 6 3 7 5 4