## Discussion Forum

Que. | An operating system uses Shortest Remaining Time first (SRT) process scheduling algorithm. Consider the arrival times and execution times for the following processes:
Process Execution time Arrival time P1 : 20 0 P2 : 25 15 P3 : 10 30 P4 : 15 45 What is the total waiting time for process P2? |

a. | 5 |

b. | 15 |

c. | 40 |

d. | 55 |

Answer:15 |