0
949views
memory has 3 pages and the processor required pages from virtual memory in the following order.2,3,2,1,5,2,4,5,3,2,5,2.Show the implementation of FIFO,LRU.
1 Answer
written 2.1 years ago by |
The given string - 2, 3, 2, 1, 5, 2, 4, 5, 3, 2, 5, 2
The page size - 3
String | 2 | 3 | 2 | 1 | 5 | 2 | 4 | 5 | 3 | 2 | 5 | 2 |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Frame 3 | 1 | 1 | 1 | 4 | 4 | 4 | 2 | |||||
Frame 2 | 3 | 3 … |