GATE | Quiz for Sudo GATE 2021 | Question 15
Consider the following Jobs with their deadline and profit:
| Job | Deadline | Profit |
|---|---|---|
| a | 2 | 37 |
| b | 3 | 50 |
| c | 1 | 37 |
| d | 4 | 60 |
| e | 3 | 50 |
| f | 2 | 80 |
Which of the following is/are correct profit sequence order for given jobs with respective profit and deadlines?
Note – This question is multiple select questions (MSQ).
(A) b, f, e, d
(B) f, d, e, b
(C) e, f, b, d
(D) None of these
Answer: (A) (C)
Explanation: Since maximum deadline is 4, so we can choose 4 jobs only. For maximum profit sequence of given Job sequence:
or
So, f, d, e, b is not correct profit sequence order for given jobs with respective profit and deadlines.
Option (B) is false.
Quiz of this Question
Please comment below if you find anything wrong in the above post




