The Gateway to Computer Science Excellence
+1 vote

Could anyone give an example.

in Operating System by Active | 101 views

1 Answer

+1 vote
Best answer

answer should be 'q'

here maximum page faults are asked...

MAX page fault occure when frame allocated is minimum..

say referred string is 

2,3,1,4,5,3, total refrences are 7 while unique refrences are only 5 that is {1,2,3,4,5}

now for max page fault allocate ONLY 1 FRAME....

so page faults=no of refrenced string ....(not alwasy true it depends on refrenced string ...but as worst case is expected..we assume no same pages refrenced one after other  )

by Loyal
selected by
Allocating 1 frame will work but if we will allocate more than one frame the answer will never be q.
what they have  said is MAXIMUM page fault...which will occure in case of 1 frame allocation
Correct :)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
52,217 questions
59,907 answers
118,146 users