Question: Consider the following references that a program makes: 1,2,3,4,2,1,5,6,2,1,2,3,7,6,3 Assuming a memory size of 4 pages, how many page faults will occur if: a. A

  1. Consider the following references that a program makes: 1,2,3,4,2,1,5,6,2,1,2,3,7,6,3

Assuming a memory size of 4 pages, how many page faults will occur if:

a. A FIFO algorithm is used

b. A LRU algorithm is used

Now, assume a memory size of 5 pages. How many page faults will occur if:

a.A FIFO algorithm is used

b. A LRU algorithm is used

  1. Consider a computer system that uses paging. The system has 1 Gigabyte of memory and it uses a page size of 1 Kilobyte. Assume each entry/row in the Page Map Table (PMT) takes up 4 bytes of memory. How much memory would be needed to store the Page Map Tables in memory if all the pages are in use?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!