11-13-2011, 11:24 PM
Operating System- CS604
Assignment # 02
Fall 2011
Marks: 20
Due Date
Your assignment must be uploaded before or on November 17, 2011
Uploading instructions:
Please view the Assignment Submission Process document provided to you by
the Virtual University for uploading assignments.
Assignment should be in .doc format.
Save your assignment with your ID (e.g. bx020200786.doc).
Assignment submission through email is highly discouraged.
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 file is corrupted.
The assignment is copied.
Note:
Your answer must follow the below given specifications. You will be assigned zero
marks if you do not follow these instructions.
Font style: “Times New Roman”
Font color: “Black”
Font size: “12”
Bold for heading only.
Font in Italic is not allowed at all.
No formatting or bullets are allowed to use.
Question # 1:
Five processes A, B, C, D and E are given below with their run time and arrival time.
Process CPU Time Arrival Time
A............. 8 .................. 0
B............... 1 .................. 1
C............... 2 .................. 3
D............... 1 .................. 4
E................ 5 .................. 2
(Where as Quantum = 3 ms)
Find the Turnaround Times, Waiting time and draw the Gantt chart for these processes by
using Shortest Job First and Round Robin scheduling Algorithms.
Question # 2:
Five processes P1, P2, P3, P4 and P5 are given below with their run time. Assume that all
processes arrive in numerical order at time “0”.
Process ID CPU Time
P1 5
P2 4
P3 2
P4 1
P5 8
For each process indicate the waiting time and turnaround
Assignment # 02
Fall 2011
Marks: 20
Due Date
Your assignment must be uploaded before or on November 17, 2011
Uploading instructions:
Please view the Assignment Submission Process document provided to you by
the Virtual University for uploading assignments.
Assignment should be in .doc format.
Save your assignment with your ID (e.g. bx020200786.doc).
Assignment submission through email is highly discouraged.
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 file is corrupted.
The assignment is copied.
Note:
Your answer must follow the below given specifications. You will be assigned zero
marks if you do not follow these instructions.
Font style: “Times New Roman”
Font color: “Black”
Font size: “12”
Bold for heading only.
Font in Italic is not allowed at all.
No formatting or bullets are allowed to use.
Question # 1:
Five processes A, B, C, D and E are given below with their run time and arrival time.
Process CPU Time Arrival Time
A............. 8 .................. 0
B............... 1 .................. 1
C............... 2 .................. 3
D............... 1 .................. 4
E................ 5 .................. 2
(Where as Quantum = 3 ms)
Find the Turnaround Times, Waiting time and draw the Gantt chart for these processes by
using Shortest Job First and Round Robin scheduling Algorithms.
Question # 2:
Five processes P1, P2, P3, P4 and P5 are given below with their run time. Assume that all
processes arrive in numerical order at time “0”.
Process ID CPU Time
P1 5
P2 4
P3 2
P4 1
P5 8
For each process indicate the waiting time and turnaround
0300-9520262
Get solution in 24 hour |cpmputer & internet
mileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
