Operating Systems Concepts - Engineering

Q1:

A page fault

A is an error is a specific page

B occurs when a program accesses a page of memory

C is an access to a page not currently in memory

D is a reference to a page belonging to another program

E None of the above

ANS:C - is an access to a page not currently in memory

Memory is divided into fixed-size pieces of memory called pages in the paging memory management method. The pages containing the necessary data are loaded into the main memory before a program is executed. There is a fixed maximum number of pages that can be loaded into the main memory. A page fault happens when a process demands data that is not currently in memory, and the pages containing the necessary data are then loaded from memory.