1(b)
Compare
and contrast short term,
long term
and medium term scheduling.
10 M
1(a)
What is critical section problem? Discuss Dekkers solution
and show how it satisfies all the requirements of critical section problem.
10 M
2(a)
Consider the following
set
of processes with length of CPU burst given in milliseconds :< br >< table border = 1 style = width : 50 %> < tbody > < tr > < td valign = top > < p > < b >< i > Process i > b > p > td > < td valign = top > < p > < b >< i > Burst - time i > b > p > td > < td valign = top > < p > < b >< i > Priority i > b > p > td > tr > < tr > < td valign = top > < p > < b >< i > P1 i > b > p > td > < td valign = top > < p > < b >< i > 10 i > b > p > td > < td valign = top > < p > < b >< i > 3 i > b > p > td > tr > < tr > < td valign = top > < p > < b >< i > P2 i > b > p > td > < td valign = top > < p > < b >< i > 1 i > b > p > td > < td valign = top > < p > < b >< i > 1 i > b > p > td > tr > < tr > < td valign = top > < p > < b >< i > P3 i > b > p > td > < td valign = top > < p > < b >< i > 2 i > b > p > td > < td valign = top > < p > < b >< i > 3 i > b > p > td > tr > < tr > < td valign = top > < p > < b >< i > P4 i > b > p > td > < td valign = top > < p > < b >< i > 1 i > b > p > td > < td valign = top > < p > < b >< i > 4 i > b > p > td > tr > < tr > < td valign = top > < p > < b >< i > P5 i > b > p > td > < td valign = top > < p > < b >< i > 5 i > b > p > td > < td valign = top > < p > < b >< i > 2 i > b > p > td > tr > tbody > table >< br > The arrival order is P1,
P2,
P3,
P4,
P5 all at time 0.< br > i
) Draw Gantt charts illustrating execution of these processes using FCFS,
SJF(non - pre - emptive)
and RR(quantum = 1) algorithms < br > ii
) Calculate the turnaround time
and waiting time for each process
and state which algorithm results in minimum waiting time.
12 M
2(b)
What is mutual exclusion? Describe ways in which it can be achieved.
8 M
3(a)
Assume that the disk head is initially positioned over track 100.For the disk space request of 27,
129,
110,
186,
147,
41,
10,
64
and 120.Show how disk scheduling is done for i
) SSTF ii
) C - SCAN iii
) C - LOOK.Calculate the average seek length
and show the tracing of the requests.
10 M
3(b)
Discuss different file allocation methods.
10 M
4(a)
What are different methods of free space management to keep track of free disk space.
10 M
4(b)
Discuss different approaches of I / O buffering provided by the OS.
10 M
5(a)
Consider the following sequence of page references : 1,
0,
2,
2,
1,
7,
6,
7,
0,
1,
2,
0,
3,
0,
4,
5,
1,
2.< br > How many page fault would occur for LRU,
FIFO
and optimal algorithms assuming a page frame of 4?
10 M
5(b)
Explain necessary
and sufficient conditions for a deadlock.Explain how resource allocation graph determines a deadlock.
10 M
6(a)
What are the characteristics of real - time systems?
10 M
6(b)
Compare
and contrast deadline scheduling
and rate monotonic scheduling algorithms.
10 M
Write short notes on (ANY TWO):
7(a)
System calls
5 M
7(b)
Semaphores.
5 M
7(c)
User threads
and Kernel threads.
5 M
7(d)
Application of RTOS
5 M
More question papers from Operating Systems