Memory Management – Paging, segmentation, virtual memory, page replacement algorithms

    Question 1: OS - Paging Concept

    In operating systems, what is the main purpose of paging?

    Question 2: OS - Segmentation Concept

    How does segmentation differ from paging?

    Question 3: OS - Virtual Memory

    What is the main advantage of virtual memory?

    Question 4: OS - Page Table

    What is the role of a page table in paging?

    Question 5: OS - FIFO Page Replacement

    In FIFO page replacement, how is a page selected for replacement?

    Question 6: OS - Page Faults

    What happens when a page fault occurs?

    Question 7: OS - Optimal Page Replacement

    Why is the Optimal Page Replacement Algorithm theoretical and rarely implemented in real systems?

    Question 8: OS - LRU Page Replacement

    What principle does Least Recently Used (LRU) page replacement follow?

    Question 9: OS - Thrashing

    What is thrashing in virtual memory systems?

    Question 10: OS - Working Set Model

    What is the purpose of the working set model in virtual memory management?