Os ND06
Os ND06
Os ND06
CEMBER2006.
B.E./B.Tech.DEGREEEXAMINATION.NOVEMBER/DE
Fourth Semester
CS 1252- OPERA,TINGSYSTEMS
(Regulation 2004)
m
Answer ALL questions.
co
PARTA-(10 x2=20 marks)
N.
1. What are the main purposes of an Operating System?
va
4. What are the main advantagesof the microkernel approach to system design?
w.
ww
5. Explain the difference between Logical address and Physical address space.
11. (a) (i) f)iscuss briefly the various issues involved in implementing Inter
ProcessCommunication (IPC) in messagepassing system. (8)
(ii) Explain the free space management using Bit Vector and Linked
list methods. (8)
Or
(ii) Explain long term, medium term and short term scheduler. (6)
12. (a) Assume the following workload in a system. All jobs arrive at time 0 in
the order given
Job Burst time (ms) Priority
m
A82
co
841
c54
D22
N.
E13
va
(i) Draw a Gantt chart illustrating the execution of these job
using FCFS,RR (quantmn= 4), non preemptivepriority (a smaller
na
(ii) Calculate the average waiting time and average turnaround time
M
Or
ww
(b) Discuss the critical section problem, solving the Dining philosophers'
problem using semaphores.
13. (a) Consider the following snapshot of a system. Execute Banker's algorithm
to answer the following.
Allocation Max Available
AI]CD ABCI) ABCI)
Po20L2 20t2 242r
Pr1000 2750
Pz 13 5 4 2 3 5 6
PsO632 0752
P+0 0I4 0756
2 T 81 21
(i) Is the system in a safe state? Ifthe system is safe, show how all the
processcould complete their execution successfully.If the system is
unsafe, show how deadlockmight occur. Explain. (6)
(ii) If a request from processPr arrives (L, 4, 2,0) can the request be
granted? (10)
Or
m
Or
co
(b) Briefly explain the Disk Management and Swap-Spacemanagement.
N.(8+8)
va
15. (a) Explain the various file allocation methods and discuss advantages and
disadvantagesin those schemes. (16)
na
Or
aa
(b) Explain the different disk scheduling algorithms with neat diagrams. (16)
M
w.
ww
T 81 21