PREMIUM
Join our WhatsApp Channel
Daily MCQs, Past Papers & Jobs for PPSC, FPSC, CSS
Daily MCQs • Past Papers • Jobs for PPSC, FPSC, CSS
Join Channel

Which operating system concept is best for preventing page faults?

A. Paging
B. The working set
C. Thrashing
D. Fragmentation
Correct Answer: B. The working set

Correct answer: The working set. Keeping a process's working set in memory prevents most page faults.

Background: The working set is the set of pages a process is actively using, and the system gives it enough frames to hold that set.

  • Paging: Paging is the scheme that creates page faults, not the technique that prevents them.
  • Thrashing: Thrashing is the problem of constant page faults itself, not its cure.
  • Fragmentation: Fragmentation is wasted memory space and has nothing to do with page faults.

Did you know? If the working sets of all processes do not fit, the system suspends some of them.

Memory trick: Keep the work you are working on at hand and you will not keep fetching it.

0 comments

Leave a Reply

Join Our WhatsApp Channel ×