Os
Os
Process Management:
2. What are critical sections? Why mutual exclusion required? Explain any 2 methods of
achieving mutual exclusion in detail.
3. Explain the following term related to IPC: a) Race condition b) critical region
4. Explain the terms related to IPC –a) Race condition b) critical section c)Mutual exclusion
d)Semaphores
5. Explain Peterson’s solution for achieving mutual exclusion
6. Explain semaphore in detail
7. What is semaphore? Discuss product-consumer problem with semaphore.
8. Write short note on: a) Dining philosopher problem b) System calls c) Monitors
9. Readers & writers problem.
10. Explain dinning philosopher problem & its solution.
11. What is dinning philosopher problem? Explain its solution with monitor.
12. 55. What is dinning philosopher problem? Explain its solution with semaphore. 56. Explain
readers & writers problem? Give its solution with semaphore. 57. Write short notes on: a)
Process states b) Critical section c) Race condition d) Starvation e) PCB f) Two level scheduling g)
Round robin scheduling
Deadlock:
Max
Allo
catio
n
B C D A B C D
A
P1 2 3 0 0 3 5 4 1
P2 0 2 2 1 4 2 3 3
P3 2 0 2 0 2 5 5 4
P4 1 3 0 2 3 3 3 3
P5 3 0 3 4 3 4 6 4
P6 0 1 1 2 4 2 1 5