Home » Operating Systems » Operating systems miscellaneous » Question

Operating systems miscellaneous

Direction: We are given 9 tasks T1, T2, ....T9. The execution of each task requires one unit of time. We can execute one task at a time. Each task Ti has a profit Pi and deadline di. Profit Pi is earned if the task is completed before the end of the di th unit of time.

  1. What is the maximum profit earned?
    1. 147
    2. 165
    3. 167
    4. 175
Correct Option: A

This is calculated by summing all the profits given in the table. This is
15 + 20 + 30 + 18 + 18 + 10 + 23 + 16 + 25 = 147
Therefore, the maximum profit is 147.



Your comments will be displayed only after manual approval.