A page fault
(A) Occurs when a program accesses an available page on memory
(B) is an error in a specific page
(C) is a reference to a page belonging to another program
(D) occurs when a program accesses a page not currently in memory
Explanation: When a page is not found in the cache, the main memory is referenced and if it is not even found in the main memory then a page fault occurs. Now, Page fault service routine is followed to bring the page to the memory form the disk and the page table is updated.
So, option (D) is correct.
Quiz of this Question
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.