We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

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 files as you receive in your LMS, So it can be discussed/solved timely. Files Upload Here.

CS604 - Operating Systems.Assignment # 2 has been uploaded, and its due date is 10th June 2015.Total Marks: 15

     

Dear Student,


In second assignment all of you are required to embed the audio on each slide too, to explain the steps how you calculate them.

Regards

Assignment No. 02
Semester: Spring 2015

Uploading instructions:

 

  • Your assignment must be in .ppt format. You have to make the power point slides and show the step by step procedure of calculations on slides (Any other formats like scan images, PDF, Zip, rar, bmp, etc will not be accepted).
  • Save your assignment with your ID (e.g. bc020200786.doc).
  • No assignment will be accepted through email.

 

Rules for Marking:

 

It should be clear that your assignment will not get any credit if:

  • The assignment is submitted after due date.
  • The submitted assignment does not open or file is corrupted.
  • Your assignment is copied from internet, handouts or from any other student

      (Strict disciplinary action will be taken in this case).

Assignment

 

 

Suppose following processes arrive for execution in the sequence given in the table below, and will run the listed amount of time. Answer the given questions by keeping in mind the non-preemptive scheduling technique.

 

Process

Arrival Time

Burst Time

P1

0

5

P2

2.0

4.0

P3

4.0

3.0

P4

6.0

6.0

 

Question:   (5 marks each )

 

  1. A.   Calculate waiting and average turnaround time for these processes with the FCFS scheduling algorithm?

 

  1. B.   Calculate waiting and average turnaround time for these processes with the SJF scheduling algorithm?

 

 

  1. C.   Calculate waiting and average turnaround time for these processes with the Shortest Remaining time First (SRTF) scheduling algorithm?

 

 

NOTE: Do not put any query on MDB about this assignment, if you have any query then email at cs604@vu.edu.pk.

 

Deadline: Your assignment must be uploaded/submitted on or before 10 June 2015.

Dear Student,


In second assignment all of you are required to embed the audio on each slide too, to explain the steps how you calculate them.

Regards

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 18306

.

+ 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)

Attachments:

Replies to This Discussion

calculate turnaround by this formula

Turnaround Time = Completion Time – Arrival Time

Now add all values of turnaround time and divided by 4

Aafreen shah ThAnK yOu So MuCh......!!!! 

audio narration ka khawab inko pata ni kesy aa gya ab banda in ko ye btaye k  2 jama 2 is equal to 4 kesy hoty hn.....

hahahaahha well said 

A: Calculate waiting and average turnaround time for these processes with the FCFS scheduling algorithm?

Sol:

First we create the Cantt Chart and then find the waiting and Turnaround Time. 

TO calculate the Waiting time in FCFS is ;

P1 = 0,   P2 = 5,  P3 = 9  P4  =  12

Average waiting time is 0+5+9+12/4 = 6.5

Now Turnaround time is calculated with (Arrival time- Finish time)

P1 = 5,   P2 = 7  P3 = 8  P4  = 12

Average TAT is = 5+7+8+12/4 =  8

B: Calculate waiting and average turnaround time for these processes with the SJF scheduling algorithm?

Sol:

First we create the Cantt Chart and then find the waiting and Turnaround Time. 

TO calculate the Waiting time in SJF (start time – arrival time) ;

P1 = 0,   P2 = 6,  P3 = 1  P4  =  6

Average waiting time is 0+6+1+6/4 = 3.25

Now Turnaround time is calculated with (completion- arrival time)

P1 = 5,   P2 = 10  P3 = 4  P4  = 12

Average TAT is = 5+10+4+12/4 =  7.75

[Image: 20620qa.jpg]
[Image: 2hclzx4.jpg]
[Image: 717bzt.jpg]
[Image: spuscm.jpg]

Dear Student,


In second assignment all of you are required to embed the audio on each slide too, to explain the steps how you calculate them. Also, slove Q3with preemptive technique.

Regards

RSS

Latest Activity

+ M.Tariq Malik replied to + !! "AS" !!'s discussion Koi Parwah Nahi ..
2 minutes ago
+ M.Tariq Malik replied to + !! "AS" !!'s discussion Koi Parwah Nahi ..
3 minutes ago
+ M.Tariq Malik replied to + !! "AS" !!'s discussion Koi Parwah Nahi ..
5 minutes ago
+ M.Tariq Malik replied to + !! "AS" !!'s discussion Koi Parwah Nahi ..
6 minutes ago
Atif Malik updated their profile
28 minutes ago
Shani Gujjar updated their profile
28 minutes ago
HaMza Tufail left a comment for Aniqa Fatima
33 minutes ago
HaMza Tufail left a comment for + M.Tariq Malik
1 hour ago
+ ! ❤INNOCENT❤ commented on + ! ❤INNOCENT❤'s photo
1 hour ago
Profile IconAmna, noor, tafseel and 15 more joined Virtual University of Pakistan
1 hour ago
Syeda left a comment for Hafiz Furqan Sabir
1 hour ago
Hadi replied to MIT's discussion Visual Programing (CS411) Assignment#01 Deadline Date = 18-11-2019 in the group CS411 Visual Programming
1 hour ago
Profile IconHadi and Fazal ur Rehman joined + M.Tariq Malik's group
1 hour ago
November 2019 replied to + M.Tariq Malik's discussion CS301 Assignment No 01 Fall 2019 Solution & Discussion in the group CS301 Data Structures
1 hour ago
KIRAN SIAF replied to + M.Tariq Malik's discussion How to Prepare The Mid Term Exams & Study in VU
1 hour ago
+ ! ! ! ! ! ! ! ! ! AG liked + M.Tariq Malik's discussion Waqar Files For Mid Term Past Papers
2 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked + M.Tariq Malik's discussion VU All Handouts Power Point Slides ( Handouts PPTs)
2 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked 彡JK彡 ❤️'s discussion Army Public School and College Mangla........ Staff required!!
2 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked shan's discussion project cs619
2 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked UMER UMER's discussion images111.jpg
2 hours ago

Today Top Members 

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

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