The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+1 vote

Could anyone give an example.

asked in Operating System by Active (2.1k points) | 62 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  )

answered by Boss (10.8k points)
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

+1 vote
1 answer
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
49,413 questions
53,595 answers
70,878 users