Elective Operating System

Operating SystemPU Spring 2024

a) Define page fault. Consider the following page reference strings: 1,3, 4, 5,3. 1.6, 7,3, 1. 3,4, 8. 9, 4, 3, 1, 3, 4, 7. How many page faults would occur for each of the following page…

15
  • a) Define page fault. Consider the following page reference strings: 1,3, 4, 5,3. 1.6, 7,3, 1. 3,4, 8. 9, 4, 3, 1, 3, 4, 7. How many page faults would occur for each of the following page replacement algorithms assuming 3 pages a frame? In each case calculate fault ratio.
  • i) | Second Chance page replacement
  • ii) LRU page replacement
  • iii) | Optimal page replacement
  • b) Define coalescing and compaction. Explain the necessity of inverted — page tables.

OR

What is difference between Paging and Segmentation? What are different page-table structures? Explain anyone.

A worked answer is on its wayMeanwhile, read the Operating System notes for this topic.

Discussion

Loading…

More Operating System questions

All Operating System old questions