775 views
0 votes
0 votes
Consider a page reference string for a process with m frames. The length of the page reference string is p with n distinct page numbers occurring in it. For any page replacement
algorithms, What is lower and upper bound on the number of page faults?

(A) m, n

(B) p, m

(C) n, p

1 Answer

Best answer
3 votes
3 votes
answer should be C)

BEST CASE:when frames allocated that is M is large...in that case...we will only encounter page fault at every distinct page so lower bund is N.

Worst case: say very less frames are allocated ...assume only 1 frams is allocated...here  (assume that no 2 page request are same) we may encounter page fault for every page present in refrenced string....

so worst case is P.
selected by

Related questions

0 votes
0 votes
0 answers
1
Jyoti Kumari97 asked Jan 15, 2019
535 views
Assume there are 5 frames and consider the following reference string find the number of page faults using NRU page replacement algorithm.3,2,3, 0,8,4,2,5,0,9,8,3,2
0 votes
0 votes
0 answers
2
Mayankprakash asked Dec 24, 2018
376 views
Do we need to cover page replacement implementations for gate?Please suggest
1 votes
1 votes
2 answers
3
muthu kumar asked Dec 15, 2018
505 views
How the value is 36? im getting 39.
0 votes
0 votes
0 answers
4
Mayankprakash asked Sep 22, 2018
146 views
Do we have to study page replacement algorithm implementation...Is it important for gate?Please suggest