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
- Consider three processes: P0 (arrival 0 ms, burst 7 ms), P1 (arrival 1 ms, burst 3 ms), P2 (arrival 2 ms, burst 7 ms). Pre-emptive shortest…
- Match List I with List II. List I: A. RAID level 2, B. RAID level 4, C. RAID level 5, D. RAID level 3. List II: I. Bit-interleaved parity,…
- Match List I with List II. List I: A. Critical region, B. Wait/signal, C. Working set, D. Deadlock. List II: I. Hoare's monitor, II. Mutual…
- Consider a disk system with cylinders. The request to access the cylinders occurs in the following sequence: 4, 34, 10, 7, 19, 73, 2, 15, 6…
- How many page faults will be encountered?
- What is fault ratio of row major to column major arrangements ?