(a) Calculate the average turnaround time, average waiting time and draw the Gantt chart for the following Table using preemptive priority algorithm. Assume low priority value has highest priority. | Table 1 Process | Arrival Time | Burst Time | Priority | | :--- | :--- | :--- | :--- | | P1 | 3 | 8 | 3 | | P2 | 1 | 4 | 1 | | P3 | 2 | 9 | 4 | | P4 | 0 | 5 | 5 |

Explanation

The average turnaround time and average waiting time are calculated using the completion times of each process. The Gantt chart provides a visual representation of the execution of each process.


โฌ† Related Topic

View Topic Hub โ†’

๐Ÿ“˜ Syllabus

View KERALA UNIVERSITY Class 5 Syllabus โ†’

๐Ÿ“ Practice Questions

Practice Previous Year Questions โ†’

๐Ÿค– Practice with AI

Generate Practice Question Paper โ†’


๐Ÿ“š Related Concepts