Share:

Dear Students! Please share your Assignment files as you recieve in your lms so it can be discussed/solved timely. Share assignments files by click on UPLOAD button.

[Solved] CS604 Assignment 2 Solution & Discussion Fall 2019  

  RSS

admin
(@admin)
Admin
Joined: 1 year ago
Posts: 1361
01/12/2019 12:18 am  

CS604 Operating Systems Assignment 2 Solution & Discussion Fall 2019


Question No 01           4+3+3=10 marks

Assume you have to apply Shortest Job First (SJF) scheduling algorithms on the set of different processes given in the table below. The CPU burst time is also given for each process. Consider that all the processes arrive in the ready queue within time 0 seconds except P2 that arrive in ready queue within time 8 seconds. You are required to show the Gantt Chart to illustrate the execution sequence of these processes and calculate the Total Waiting Time and Average Waiting Time for the given processes by using SJF algorithm.

 Process CPU Burst Time (seconds)    P0 2    P1 6    P2 1    P3 4    P4 3    P5 8

 

Question No 02            4+3+3=10 marks

Consider a scenario where you have to apply Round Robin scheduling algorithm on the below given set of processes with each having a quantum size=8 milliseconds. The CPU burst time and arrival time for each process is also provided in the given table. You are required to show the Gantt Chart to illustrate the execution sequence of these processes. Moreover, calculate the Average Turnaround Time and Average Waiting Time for given processes by using round robin algorithm.
 Process CPU Burst Time (Milliseconds) Arrival Time(Milliseconds)    P0 15 0    P1 8 4    P2 25 18    P3 18 5

How is this website, please share your feedback through this link: https://forms.gle/mZ5rsd995RxU2gEZ7


Quote
admin
(@admin)
Admin
Joined: 1 year ago
Posts: 1361
02/12/2019 9:46 pm  

CS604 Operating Systems Assignment 2 Solution & Discussion Fall 2019


 

 

Download attachment for solution idea file for CS604.

How is this website, please share your feedback through this link: https://forms.gle/mZ5rsd995RxU2gEZ7


ReplyQuote
Share:

Please Login or Register