Question: Part I SHORT ANSWER (10marks) Direction: Read the question carefully and answer accordingly 1 Discuss role of operating systems in main memory management and secondary

 Part I SHORT ANSWER (10marks) Direction: Read the question carefully and

Part I SHORT ANSWER (10marks) Direction: Read the question carefully and answer accordingly 1 Discuss role of operating systems in main memory management and secondary storage management? (5marks) 2 Explain the CPU Scheduling criteria and their optimization. (5marks) Part II APPLICATION (20marks) Direction: Consider the following set of processes and answer the given questions. (Assume length of the CPU-burst time is given in milliseconds) Process Arrival Time Burst Time P1 0 6 P2 2 2 P3 3 7 P4 4 5 P5 5 3 1 ii. Draw Gantt charts illustrating the execution of these processes using following scheduling algorithms i SJF non-preemptive SJF pre-emptive iii. Round Robin (Quantum = 5) (Rubric: 12 marks=4 marks for each algorithm) 2. What is the average waiting time of each process of the scheduling algorithms in Question 1. (5marks) 3. Evaluate the performance of algorithms used for RR, pre-emptive and non-pre-emptive SJF approaches in operating systems based on the average waiting time. (3marks)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!