Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 3 . Page Replacement ( 3 0 prs ) Consider pure demand paging as fetch policy. A process contains seven virtual pages , 3

Question 3. Page Replacement (30 prs)
Consider pure demand paging as fetch policy. A process contains seven virtual pages ,3,4,5,6 on disk and is assigned to a fixed allocation of three page frames (0,1,2) in main memory which are initially empty. Consider the following reference string:
3,2,1,4,2,1,5,6,1,2,3,0,3,5,3,6,4
Show the successive page residing in the three frames using the FIFO, LRU and Optimal policies starting with an empty main memory. How many page faults would occur in each case?
FIFO Policy
\table[[\table[[Number of],[page faults]]]]
LRU Policy
Optimal Policy
\table[[Ref. string ,3,2,1,4,2,1,5,6,1,2,3,0,3,5,3,6],[Frame 0,,,,,,,,,,,,,,,,],[Frame 1,,,,,,,,,,,,,,,,],[Frame 2,,,,,,,,,,,,,,,,]]
Page Fault
Number of
please i want correct and full answer with explanation with details
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Learning PostgreSQL

Authors: Salahaldin Juba, Achim Vannahme, Andrey Volkov

1st Edition

178398919X, 9781783989195

More Books

Students also viewed these Databases questions

Question

What unique remedy may be requested in a breach of contract case?

Answered: 1 week ago

Question

Timeline for implementation report

Answered: 1 week ago

Question

a. What aspects of the situation are under your control?

Answered: 1 week ago