We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

CS604 Operating Systems Assignment No 02 Fall 2019 Solution & Discussion Due Date: 02-12-2019

CS604 Operating Systems Assignment No 02 Fall 2019 Solution & Discussion Due Date: 02-12-2019

Question No 01        4+3+3=10 marksQuestion No 01        4+3+3=10 marksAssume 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 marksConsider 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  


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


Views: 1522

Replies to This Discussion

Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

Students having same subject can start discussion here to solve assignment, GDB & Quiz and can clear their concepts until solution is provided. 

 

P.S:    Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”

Then copy Questions from assignment file and paste in Discussion.

 

http://bit.ly/vucodes (For Assignments, GDBs & Online Quizzes Solution)

http://bit.ly/papersvu (For Past Papers, Solved MCQs, Short Notes & More)

Click Here to Search (Looking For something at vustudents.ning.com?)

Click Here to Join (Our facebook study Group)

CS604_Assignmnet_2_Solution_Fall_2019_vustudents.ning.com 

link below

CS604_Assignmnet_2_Solution_Fall_2019_vustudents.ning.com.docx

solution_Fall 2019_CS604_2 

below link 

solution_Fall 2019_CS604_2

Shortest Job First(SJF) Scheduling Algorithm with example | Operating System

Round Robin(RR) CPU Scheduling Algorithm in OS with example

 

P0

P4

P3

P2

P1

P5

 0              2              5                           9           10                               16                                        24

 

Total Waiting Time= 0+10+1+5+2+16=34

 

Average Waiting Time= 34/6=5.6

P0

P1

P3

P0

P2

P3

P2

P3

P2

P2

 

0              8              16             24             31             39             47             55              57            65            66     

 

 

 

 

Average Turnaround Time=(31+12+48+52)/4=35.7

Average Waiting Time=(16+4+23+34)/4=19.2

 

 

CS604_Assignmnet_2_Solution_Fall_2019_vustudents.ning.com 

link below

CS604_Assignmnet_2_Solution_Fall_2019_vustudents.ning.com.docx

solution_Fall 2019_CS604_2 

below link 

solution_Fall 2019_CS604_2

RSS

Latest Activity

Profile IconShahzeb Zubair, Rana Fiaz Rasool, Arain sahab and 17 more joined Virtual University of Pakistan
7 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion ENG201 Online Quiz No 01 Fall 2020 Solution Discussion Last Date: 27-11-2020 in the group ENG201 Business and Technical English Writing
8 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion MTH401 Assignment 01 Fall 2020 Solution / Discussion Due Date: 30-11-2020 in the group MTH401 Differential Equations
10 minutes ago
zohaib iftikhar replied to zohaib iftikhar's discussion !!!KAHO MUJH SY MUHABBAT HAI!!!!
11 minutes ago
zohaib iftikhar replied to zohaib iftikhar's discussion KAHA TOO YEHI JATA HAI K????
11 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS506 Assignment 01 Fall 2020 Solution / Discussion in the group CS506 Web Design and Development
18 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS506 Assignment 01 Fall 2020 Solution / Discussion in the group CS506 Web Design and Development
24 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS506 Assignment 01 Fall 2020 Solution / Discussion in the group CS506 Web Design and Development
24 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS506 Assignment 01 Fall 2020 Solution / Discussion in the group CS506 Web Design and Development
24 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to ■ T̲h̲e̲ ̲J̲o̲k̲e̲r̲ ■'s discussion Why Chat is not working anymore?
26 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion ENG101 Online Quiz No 01 Fall 2020 Solution Discussion Last Date: 26-11-2020 in the group ENG101 English Comprehension
30 minutes ago
Mani Siddiqui Ex replied to +M.Tariq Malik's discussion CS605 Assignment No 01 Fall 2020 Solution & Discussion Due Date: 26-11-2020 in the group CS605 Software Engineering-II
36 minutes ago

Looking For Something? Search Here

© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.