Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Operating Systems - Assignment 1 Answer all the questions. Question 1 (50 marks) Consider the following set of processes, with the length of the CPU

image text in transcribed

Operating Systems - Assignment 1 Answer all the questions. Question 1 (50 marks) Consider the following set of processes, with the length of the CPU burst given in milliseconds: Process . Arrival Time Priority 03 1 1 2 2 4 1 8 Burst Time 10 1 2 3 4 The processes are assumed to be arrived in the order P, P2, P3, P4, Ps a) Draw four Gantt charts that illustrate the execution for these processes using the following scheduling algorithms: FCFS, SJFS, SRTN, Priority (Preemptive and Non- Preemptive) and RR (quantum = 1). b) What is the turn-around time of each process for each of the scheduling algorithms in part(a)? c) What is the waiting time of each process for each of the scheduling algorithms in part(a)? d) Which of these algorithms results in the minimum average waiting time

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Database Security

Authors: Alfred Basta, Melissa Zgola

1st Edition

1435453905, 978-1435453906

More Books

Students also viewed these Databases questions