A virtual memory system uses First In First Out (FIFO) page replacement policy…
2007
A virtual memory system uses First In First Out (FIFO) page replacement policy and allocates a fixed number of frames to a process. Consider the following statements:
P: Increasing the number of page frames allocated to a process sometimes increases the page fault rate.
Q: Some programs do not exhibit locality of reference.
Which one of the following is TRUE?
- A.
Both P and Q are true, and Q is the reason for P
- B.
Both P and Q are true, but Q is not the reason for P
- C.
P is false, but Q is true
- D.
Both P and Q are false
Attempted by 57 students.
Show answer & explanation
Correct answer: B
Statement P is true due to Belady's Anomaly, where increasing page frames in FIFO can increase page faults. Statement Q is true as some programs lack locality of reference. Both statements are factually correct.
A video solution is available for this question — log in and enroll to watch it.