Calculate the average waiting time and total turn around time in: (i) Non Preemptive SJF (ii) Preemptive SJF Use the following processes: Process…
Calculate the average waiting time and total turn around time in: (i) Non Preemptive SJF (ii) Preemptive SJF
Use the following processes:
| Process | Arrival Time | Burst Time |
| P1 | 0.0 | 7 |
| P2 | 2.0 | 4 |
| P3 | 4.0 | 1 |
| P4 | 5.0 | 4 |
From the SGCL Assistant Programmer 2020 – Written exam, question 2 of 4.