A virtual memory system uses the first-in first-out page replacement policy and allocates a fixed number of frames to a process.
Assertion A: Increasing the number of page frames allocated to a process sometimes increases the page fault rate.
Reason R: Some programs do not exhibit locality of reference.
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
A is Belady's anomaly for FIFO. R is 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 the following arrival and burst times for three processes P0, P1, P2. The pre-emptive shortest job first algorithm is used, and sc…
- Match List I with List IIList I List II A. RAID level 2 I. Bit interleaved parity B. RAID level 4 II. Block interleaved distributed parity…
- Match List I with List IIList I List II A. Critical region I. Hoare's monitor B. Wait/signal II. Mutual exclusion C. Working set III. Princ…
- At a particular time of computation, the value of a counting semaphore is 7. Then 20 P operations and x V operations were completed on this…
- Requests to access cylinders occur in the sequence 4, 34, 10, 7, 19, 73, 2, 15, 6, 20. The head is currently at cylinder 50, and it takes 1…
- Consider now that T is stored in column-major format. What is the main memory hit ratio?