Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started