11.2. Exam 2 - IPC, Synchronization and Memory ManagementΒΆ

Complete take home essay exam 2 and turn in on K-State Online Canvas.

  1. Why is it necessary for the operating system to provide synchronization facilities?
  2. In what situations as a programmer might it make sense to use each of the following inter-process communication facilities: pipes, shared memory and sockets?
  3. Why is it important that CPU manufacturers include a test and set instruction to be used in the implementation of semaphores?
  4. What is the principal of locality and how is it applied in modern operating systems?
  5. Why is demand paged virtual memory management better than process swapping?
  6. Briefly describe how the so called dirty bit is used to implement an approximate LRU page replacement algorithm.