Question OS-SCH-151
HardFor these processes, what is the average waiting time under SRTF (preemptive SJF)?
| Process | Arrival | Burst |
|---|---|---|
| P1 | 0 | 7 |
| P2 | 2 | 4 |
| P3 | 4 | 1 |
| P4 | 5 | 4 |
- A.
3 ms
- B.
2 ms
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
CPU Scheduling question
For these processes, what is the average waiting time under SRTF (preemptive SJF)?
| Process | Arrival | Burst |
|---|---|---|
| P1 | 0 | 7 |
| P2 | 2 | 4 |
| P3 | 4 | 1 |
| P4 | 5 | 4 |
3 ms
2 ms
Sign up free to see the answer and a step-by-step explanation.
4 ms
4.75 ms