For the page reference string 4, 3, 2, 1, 4, 3, 5, 4, 3, 2, 1, 5, the number of page faults with LRU page replacement and 3 frames is
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: C. 10
Explanation
The first seven references (4 3 2 1 4 3 5) all fault. Then 4 and 3 hit; 2 faults (evicts 5), 1 faults (evicts 4), 5 faults (evicts 3). Total = 10.More System Software and Operating System questions
- Match List I with List II. Choose the correct answer from the options given below:List I List II A. Activation record I. Linker loader B. L…
- Match List I with List II. Choose the correct answer from the options given below:List I List II A. Least frequently used I. Memory is dist…
- Match List I with List II. Choose the correct answer from the options given below:List I List II A. Firmware I. Number of logical records i…
- Match List I with List II. Choose the correct answer from the options given below:List I List II A. Stack algorithm I. Deadlock B. Elevator…
- Given below are two statements: Assertion (A) and Reason (R). Assertion (A): A load-and-go assembler avoids the overhead of writing the obj…
- Test suite is consist of: