2 2 votes Consider the following set of processes assumed to have arrived at time $0$ in order $P_{1}, P_{2}, P_{3}, P_{4}$ and $P_{5}$ with the length of CPU burst given in Milliseconds.ProcessBurst TimePriority$P_1$$10$$3$$P_2$$1$$1$$P_3$$2$$4$$P_4$$1$$5$$P_5$$5$$2$What is the average waiting time (in milliseconds) using priority scheduling.$8$$8.2$$8.3$$8.4$ Operating System ugcnetcse-dec2025 operating-system process-scheduling priority-scheduling waiting-time analytical-aptitude + – Shubham Sharma 2 196 views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
0 0 votes $\text{Turnaround time:}$ The interval from the time of submission of a process to the time of completion is the turnaround time. Turnaround time is the sum of the periods spent waiting to get into memory, waiting in the ready queue, executing on the CPU,and doing I/O..$\boxed{\text{Turnaround time = Completion time - Arrival time}}$$\text{Waiting time:}$ Waiting time is the sum of the periods spent waiting in the ready queue.$\boxed{\text{Waiting time = Turnaround time - Burst time}}$ chidambareswar23 answered Apr 29 chidambareswar23 comment Share Follow 0 reply Please log in or register to add a comment.