12.operating Systems MODEL QP
12.operating Systems MODEL QP
12.operating Systems MODEL QP
: 22CSC15N
14 (a) Consider the following snapshot of the system. (5) CO4 BT3
Allocation Max Available
Processes
ABCD ABCD ABCD
P0 0012 0012 1520
P1 1000 1750
P2 1354 2356
P3 0632 0652
P4 0014 0656
Determine whether the system is in safe state of not. If a
request from process P1 arrives for (0, 4, 2, 0), assess
whether the request be granted immediately or not?
(b) Explain the solution to reader writer’s problem with the help (5) CO4 BT3
of semaphores.
15 (a) Illustrate the types of threats in Operating System. (5) CO5 BT2
(b) Explain the different File allocation methods with their (5) CO5 BT2
advantages and disadvantages.
16. (a) Explain in detail about different operating system services (5) CO1 BT2
(b) Consider a disk drive with 5000 cylinders, numbered 0 to (5) CO3 BT3
4999. The drive is currently serving a request at cylinder
143, and the previous request was at cylinder 125. The
queue of pending requests, in FIFO order is
86, 1470, 913, 1774, 948, 1509, 1022, 1750, 130
Make use of the disk scheduling concept to find the total
distance that the disk arm moves to satisfy all the pending
requests for each of the following disk-scheduling
algorithms.
1. FCFS
2. SSTF
17 (a) Analyze the role of exception handling in Remote Procedure (4) CO2 BT4
Calls (RPC) and explain how it ensures reliability in
distributed systems.
(b) Illustrate OS level memory protection. (3) CO4 BT2
(c) What is Race Condition? Explain with an example. (3) CO4 BT2
******