Docsity

Advance Operating System, Assignments of Operating Systems

Partial preview of the text

Download Advance Operating System and more Assignments Operating Systems in PDF only on Docsity!

OPERATING SYSTEM ASSIGNMENT # 01 Q1. What three issues must be considered in the case preemption and explain? Q2. Explain the differences in the degree to which the following scheduling algorithms discriminate in favour of short processes: © FCFS e RR « Multilevel feedback queues Q3. Consider the following set of processes, with the length of the CPU burst given in milliseconds: Process Burst Time Priority PL 20 a P2 5 3 P3 8 1 P4 6 2 PS 10 4 The processes are assumed to have arrived in the order p1, p2, p3, p4, p5 all at time 0. (a) Draw the Gantt chart that illustrate the execution of these processes using the following scheduling algorithms: e FCFS e SIF e¢ Round Robin with quantum = 3 (b) What is the turnaround of each process for each of the scheduling algorithm in part (a)?