Operating Systems Assignment – Scheduling [ Your name] [ Your Major and Academic Level] Review Questions 1. If purely priority-based scheduling is used in a system, what are the problems that the...

1 answer below »
need to do it in word


Operating Systems Assignment – Scheduling [ Your name] [ Your Major and Academic Level] Review Questions 1. If purely priority-based scheduling is used in a system, what are the problems that the system will face? (15 points) 2. Identify the advantages and disadvantages of preemptive scheduling? (15 points) Problems There are 4 processes with different arrival time and service time. Process Arrival Service A 0 12 B 3 5 C 7 9 D 10 4 a. Use FCFS, RR, SPN, SRT, and HRRN to schedule them. You need to determine the length of time slice for the RR by yourself. Calculate the waiting time and turnaround time for each process and the average turnaround time for each algorithm. (50 points) b. Compare all the 5 algorithms. Which one is the best ignoring the system overhead? How about considering the system overhead? (20 points)
Answered 1 days AfterOct 24, 2021

Answer To: Operating Systems Assignment – Scheduling [ Your name] [ Your Major and Academic Level] Review...

Neha answered on Oct 26 2021
111 Votes
Question 1
There are different advantages of having the priority scheduling, but it also comes with their disadvant
ages. The disadvantage of having the priority scheduling is to call the process with indefinite starvation or blocking. This problem takes place when the process is ready for the execution, but it needs to wait for the longer time to get executed by the CPU because there are other processes with the higher priority, and they will be executed by the CPU. Another disadvantage is faced when we have the process is with same priority and we have to make the use of second scheduling algorithms. The third disadvantage arises when the system gets crashes and all the processes who are having low priority, are not finished yet and they get lost.
Question 2
Advantages of Preemptive Scheduling
· This method follows robust approach.
· It allows us to have the selection of running task which can be considered again after every interruption.
· Every event is able to create interruption of the running task.
· The operating system makes sure that the CPU is used for the same time by all the running processes.
· All the executing processes...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here