in Operating System edited by
3,366 views
3 votes
3 votes

A page fault

  1. Occurs when a program accesses an available page on memory
  2. is an error in a specific page
  3. is a reference to a page belonging to another program
  4. occurs when a program accesses a page not currently in memory
in Operating System edited by
3.4k views

4 Answers

3 votes
3 votes
Best answer

d is answer

selected by
4 votes
4 votes
Answer is option D
3 votes
3 votes

ans (d)

page fault  is a type of interrupt, called trap, raised by computer hardware when a running program accesses a memory page that is mapped into the virtual address space, but not actually loaded into main memory. The hardware that detects a page fault is the processor's memory management unit (MMU), while the exception handling software that handles page faults is generally a part of the operating system kernel. When handling a page fault, the operating system generally tries to make the required page accessible at the location in physical memory, or terminates the program in case of an illegal memory access.

1 vote
1 vote

An interrupt that occurs when a program requests data that is not currently in real memory. The interrupt triggers the operating system to fetch the data from a virtual memory and load it into RAM. An invalid page fault or page fault error occurs when the operating system cannot find the data in virtual memory.

1 comment

Hence ans d)
0
0
Answer:

Related questions