Os Imp Qsns - 2022 Scheme
Os Imp Qsns - 2022 Scheme
19. What are semaphores? Explain two primitive semaphore operations. What are
its advantages? Explain solution to producer-consumer problem using
semaphores
20. What is critical section? Explain the various methods to implement process
synchronization. Explain three requirements that a solution to critical –section
problem must satisfy.
21. State Dining Philosopher’s problem and give a solution using semaphores.
Write structure o f philosopher. Describe term monitor. Explain solution to
dining philosophers.
22. What do you mean by binary semaphore and counting semaphore? With
i) With deadlock
ii) With a cycle but no deadlock
27. Write safety algorithm and resource request algorithm. Banker’s algorithm
problems.
MEMORY MANAGEMENT
28. Explain the multistep processing of a user program with a neat
block diagram.
OR
What do you mean by address binding? Explain with the necessary steps,
the binding of instructions and data to memory addresses.
29. Distinguish between internal and external fragmentation.
30. Explain segmentation with an example.
31. Explain with a diagram, how TLB is used to solve the problem of simple paging
scheme.
32. What are the memory allocations? Explain each of them with suitable diagrams.
33. Distinguish between:
a. Logical address space and physical address space.
b. Internal fragmentation and external fragmentation.
c. Paging and segmentation.
34. Explain with the help of supporting hardware diagram how the TLB improves
the performance of a demand paging system.
35. What is fragmentation? Explain two types of memory fragmentation.
36. What is swapping? Explain in detail.
37. What is a file? Distinguish between contiguous, indexed and linked allocation
methods with diagrams.
or
Explain file allocation methods by taking an example with the neat
diagram. Write the advantages and disadvantages.
38. Explain free space management. Explain typical file control block, with a neat
sketch.
41. What is a page fault? with the supporting diagram explain the steps
involved in handling page fault.