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

www.vustudents.ning.com

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

# CS604 Assignment No 02 Solution & Discussion Due Date: Dec. 06, 2016

Assignment No. 02 Graded Semester: Fall 2016 CS604: Operating Systems Total Marks: 20 Due Date:06/12/2016 Instructions: Please read the following instructions carefully before submitting assignment. 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 corrupt. Assignment is copied(partial or full) from any source (websites, forums, students, etc) Note: You have to upload only .doc file. Assignment in any other format (extension) will not be accepted and will be awarded with zero marks. Objective: The objective of this assignment is to provide hands on experience of: Implementation of CPU scheduling algorithm To know the algorithm behind different scheduling mechanisms Comparisons of CPU scheduling algorithms For any query about the assignment, contact at CS604@vu.edu.pk Assignment Question No. 1: (marks 15) Three processes P1, P2, P3 reaches at the same time for processing with burst time as given in the following Gantt chart. Process P1 P2 P3 Burst Time (ms) 10 4 8 Consider time slice of 4 milliseconds for both algorithms. You are required to provide Gantt chart for each of the following CPU scheduling algorithms and calculate average waiting time and average turnaround times. 1. Shortest Remaining Time First 2. Round Robin Write down all attributes in tabular form for both algorithms. Table format is given as under, Process Burst Time Arrival Start Wait Finish TA P1 10 P2 4 P3 8 Gantt Chart : ? Average waiting time = ? Average turnaround times (TA) = ? Note: No need to write theory. Just give Gantt chart, Waiting Time and Turnaround Time. Best of Luck

+ Click Here To Join also Our facebook study Group.

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

See Your Saved Posts Timeline

Views: 7950

.

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

Attachments:

### Replies to This Discussion

sequence phir ya hoga   P2P3P3P1P1P1 kia ???+ ◕‿◕ + ??????

kia

koi correct solution hi send kar dain

i think this is correct P2P3P3P1P1P1

agr ap log page number 86 py dykhain to udr jo ghant chart bna hy us ma b P1 sy he start liya hva hy jb k us ka burst time 7 hy jo k P3 sy bara hy to us hisab sy ap ka sequence galat bnta hy n wasifa ny jo sol diya hy wo sai hy bilkul mera b same ans a ra hy .

ab bej b do solution koi correct

Koi correct solution upload kar do ham changings kar lain gy..!! Thankyou.

friends plz tel me is this one is correct or not??

Attachments:
CS604 ASSIGNMENT SOLUTION
Attachments:

Subjects CS604, CS610, CS506, CS408 and MGT501.

## Latest Activity

9 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" liked Sharal Khan's discussion kabi kabi........
9 minutes ago
9 minutes ago
10 minutes ago
Destruido :( posted a discussion

### what can you do to save earth....?

18 minutes ago
+"illegal weapon"++ liked +++Student+++++'s blog post On the day of Jumma
23 minutes ago
23 minutes ago
+++Student+++++ liked + M.Tariq Malik's discussion پھر آتے ہیں ایسے دوست
24 minutes ago

1

2

3