Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In operating systems, whenever a new page is referred and not present in memory, page fault occurs and Operating System replaces one of the existing

In operating systems, whenever a new page is referred and not present in memory, page fault occurs and Operating System replaces one of the existing pages with newly needed page. Different page replacement algorithms suggest different ways to decide which page to replace. The target for all algorithms is to reduce number of page faults. In this algorithm, OS replaces the page that will not be used for the longest period of time in future.  

 

Input number of frames=4 

Reference string= 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7,0,1.

 

(A) Find out number of misses 

(B) Find out number of hits 

(C) Find out number of page faults 


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

Introduction To Programming In Java An Interdisciplinary Approach

Authors: Robert Sedgewick, Kevin Wayne

2nd Edition

0672337843, 9780672337840

More Books

Students also viewed these Computer Network questions

Question

4. Review periodically.

Answered: 1 week ago

Question

Why the distinction between primitive and reference types?

Answered: 1 week ago