![1 - [30 pts] Scheduling Algorithms Comparison Assume that we have 5 independent and aperiodic tasks (T1, ... , Ts) and they a](https://i2.wp.com/img.homeworklib.com/questions/82a20340-5896-11eb-92ee-f15e75f55ad9.png?w=1080&ssl=1)
1 – [30 pts] Scheduling Algorithms Comparison Assume that we have 5 independent and aperiodic tasks (T1, … , Ts) and they arrive to the system at times indicated below. Each task will run for the amount of execution time listed and is assigned a priority ranging from 0 (highest) to 10 (lowest), i.e. lower value means higher priority. There are no other tasks scheduled to arrive to the system until T1, … , Ts complete. Task Arrival Time Execution Time Priority T1 0 8 10 T2 1 4 2 T3 2 1 10 T4 3 2 1 T5 4 2 5 a) [20 pts] Show the execution of these tasks using the following scheduling algorithms: i. FCFS ü. SJF (if tasks have the same execution time, apply FCFS as a tie-break rule) iii. SRTF (preemptive SJF, if tasks have the same remaining execution time, apply FCFS as a tie-break rule) iv. Preemptive priority (i.e. at any time, choose the task with the highest priority. If priorities are equal, apply FCFS as a tie-break rule) b) [4 pts] What is the turnaround time of each task for each algorithm from part a)? c) [4 pts] What is the waiting time of each task for each algorithm from part a)? d) [2 pts] Which scheduling algorithm results in the lowest average waiting time across 5 tasks? Does this align with the theoretical information we saw in class? Note: You can ignore context switch overhead.


Save your time - order a paper!
Get your paper written from scratch within the tight deadline. Our service is a reliable solution to all your troubles. Place an order on any task and we will take care of it. You won’t have to worry about the quality and deadlines
Order Paper Now

The post Which scheduling algorithm results in the lowest average waiting time across 5 tasks? Does this align with the theoretical information we saw in class? appeared first on nursing assignment tutor.