Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions