Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem Solving: Read the following questions carefully and answer what is asked. (20marks) Consider the following set of processes, with the length of the CPU-burst

image text in transcribed

Problem Solving: Read the following questions carefully and answer what is asked. (20marks) Consider the following set of processes, with the length of the CPU-burst time given in milliseconds: Process Arrival Time Burst Time P1 0 5 P2 2 3 P3 3 2 P4 4 4 P5 5 3 a. Draw Gantt charts illustrating the execution of these processes using SJF (pre-emptive and non-preemptive) & RR (Quantum = 3) scheduling Marking scheme: (15marks=5 marks for each algorithm) b. What is the waiting time of each process for each of the scheduling algorithms in part a. (3marks) C. Evaluate the performance of pre-emptive and non-pre-emptive and Round Robin approaches in operating systems based on the average waiting time. (2marks)

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

Databases And Information Systems 1 International Baltic Conference Dbandis 2020 Tallinn Estonia June 19 2020 Proceedings

Authors: Tarmo Robal ,Hele-Mai Haav ,Jaan Penjam ,Raimundas Matulevicius

1st Edition

303057671X, 978-3030576714

More Books

Students also viewed these Databases questions

Question

2. Why?

Answered: 1 week ago

Question

1. Where do these biases come from?

Answered: 1 week ago