0 3

BIT204 · 0 · 10 marks

What is page fault? Consider the following page reference string, 7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2, 1, 2, 0, 1, 7, 0, 1. How many page faults would occur for each of the following page replacement algorithms assuming 3 frames? a. FIFO b. Second Chance c. LRU

What is page fault? Consider the following page reference string, 7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2, 1, 2, 0, 1, 7, 0, 1. How many page faults would occur for each of the following page replacement algorithms assuming 3 frames? a. FIFO b. Second Chance c. LRU[10]

Operating SystemsChapter 8: Virtual Memory and PagingPage fault definition and occurrenceNumerical: page replacement algorithms

A page fault occurs when a process references a page that is not currently present in main memory (RAM). The OS traps the fault, locates the page on disk, finds a free frame (or evicts a page via a replacement algorithm), loads the page, updates the page table, and restarts the instruction. --- -...