All mock tests are FREE till 31 December — register to save your progress

Given below are two statements: one is labelled as Assertion A and the other is labelled as

Reason R . A virtual memory system uses first-in first-out page replacement policy and allocates a fixed number of frames to a process

Assertion A: Increasing number of page frames allocated to a process sometimes increases the page fault rate.

Reason R: Some programs do not exhibit locality of reference. In the light of the above statements, choose the correct answer from the options given below.

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: B. Both A and R are true but R is NOT the correct explanation of A

Explanation

With FIFO, adding frames can increase page faults (Belady's anomaly), so A is true. R is also true, but the anomaly comes from FIFO not being a stack algorithm, not from lack of locality.

More System Software and Operating System questions