Question: operating systems Exercises: Chapter 5 -Scheduling algorithms Exercise 1 Suppose that the following processes arrive for execution at the times indicated. Each process will run

operating systems
operating systems Exercises: Chapter 5 -Scheduling algorithms Exercise 1 Suppose that the
following processes arrive for execution at the times indicated. Each process will

Exercises: Chapter 5 -Scheduling algorithms Exercise 1 Suppose that the following processes arrive for execution at the times indicated. Each process will run the listed amount of time. In answering the questions, use nonpreemptive scheduling and base all decisions on the information you have at the time the decision must be made. a. What is the average turnaround time for these processes with the FCFS scheduling algorithm? b. What is the average turnaround time for these processes with the SJF scheduling algorithm? Exercise 2 Consider the set of 5 processes whose arrival time and burst time are given below- If the CPU scheduling policy is SJF pre-emptive, calculate the average waiting time and average tumaround time. Consider the set of 6 processes whose arrival time and burst time are given below- If the CPU scheduling policy is shortest remaining time first, calculate the average waiting time and average turnaround time. Exercises: Chapter 5 -Scheduling algorithms Exercise 1 Suppose that the following processes arrive for execution at the times indicated. Each process will run the listed amount of time. In answering the questions, use nonpreemptive scheduling and base all decisions on the information you have at the time the decision must be made. a. What is the average turnaround time for these processes with the FCFS scheduling algorithm? b. What is the average turnaround time for these processes with the SJF scheduling algorithm? Exercise 2 Consider the set of 5 processes whose arrival time and burst time are given below- If the CPU scheduling policy is SJF pre-emptive, calculate the average waiting time and average tumaround time. Consider the set of 6 processes whose arrival time and burst time are given below- If the CPU scheduling policy is shortest remaining time first, calculate the average waiting time and average turnaround time

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Exercise 1 a FCFS Scheduling Algorithm In the FirstCome FirstServed FCFS scheduling algorithm processes are executed in the order of their arrival tim... View full answer

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!