01-01-2013, 03:25 PM
CS604 Operating Systems Assignment No. 4 Fall 2012-13 Due Date 3 January 2013
Assalam-o-Alaikum
Assignment # 4 CS604 Fall 2012 has been uploaded. Its Due Date is 3 January 2013. Please discuss here about the assignment.
Thanks
Assignment No. 04 SEMESTER Fall 2012 CS604- Operating System Total Marks: 20
Due Date:Thursday, January 03, 2013
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 corrupt.
The assignment is copied.
There is not mentioned the student Id in the assignment File or
name of file is other than student ID.
GOOD LUCK
Marks: 20
Question 1: [Marks 20]
Let us consider a table given below.
Process Arrival Time Burst Time
--------------------------------------------------------------
A 1.0 9
B 1.4 5
C 2.0 2
Above table shows different processes arriving in the sequence listed in the table.
a)
Let us consider that CPU remains idle for first 2 unit of time. Draw the Gantt chart and calculate the
average turnaround time for above processes in this situation by using
non preemptive Shortest Job First (SJF)scheduling strategy. [Marks 3]
b)
Let us consider that CPU remains idle for first 1.5 unit of time. Draw the Gantt chart and calculate the
average waiting time for above processes in this situation by using
non preemptive Shortest Job First(SJF)scheduling strategy. [Marks 5]
c)
Let us consider that CPU remains idle for first 1 unit of time and let us consider that a fourth process ‘D’
enters the system at time 3 and needs 1 unit of CPU time. Draw the Gantt chart and Calculate the average waiting time for four processes A, B, C and D in this situation by using preemptive SJF i.e. Shortest Remaining time scheduling strategy. [Marks 6]
d)
Let us consider that CPU remains idle for first 3 unit of time. In this situation, draw the Gantt chart and
calculate the average waiting time for a round robin algorithm with q (time quantum) set at 2. Ignore the
effect of context switching time.Marks 6]
Note:
i.In the above case we are considering only a single processor.
Uploading Instructions:
Upload your assignment as a word file. It should have name [YourRollNo.doc]. Your assignment must be
uploaded/submitted at or before Thursday, January 03, 2013
0300-9520262
Get solution in 24 hour |cpmputer & internet
mileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
