Question: You are given the following page reference string: 5, 1, 2, 2,1, 3, 1, 6, 3, 4, 1, 3, 3 with a page frame size
You are given the following page reference string: 5, 1, 2, 2,1, 3, 1, 6, 3, 4, 1, 3, 3 with a page frame size of 4. Write a Java program that finds the number of page faults using:
- FIFO algorithm
- Least recently used (LRU) algorithm.
Please provide Your code and Screen captures of your results
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
