Question: Consider the following page reference string: A, C, D, B, A, C, E, A, C, D, B, E Suppose there are 3 frames in physical

Consider the following page reference string:

A, C, D, B, A, C, E, A, C, D, B, E

Suppose there are 3 frames in physical memory, how many page faults will occur for the following replacement algorithms:

a. FIFO Replacement algorithm: (2 marks)

b. Optimal Replacement algorithm: (2 marks)

c. LRU replacement algorithm: (2 marks)

Write your detailed answer as the following for each algorithm:

Read A: Frame1, Frame2, Frame3

Read C: Frame1, Frame2, Frame3

Read D: Frame1, Frame2, Frame3

Read B: Frame1, Frame2, Frame3

Read A: Frame1, Frame2, Frame3

Read C: Frame1, Frame2, Frame3

Read E: Frame1, Frame2, Frame3

Read A: Frame1, Frame2, Frame3

Read C: Frame1, Frame2, Frame3

Read D: Frame1, Frame2, Frame3

Read B: Frame1, Frame2, Frame3

Read E: Frame1, Frame2, Frame3

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!