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

Could anyone give an example.

asked in Operating System by Active (2.1k points) | 61 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,2...here 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.7k points)
selected by
0
Allocating 1 frame will work but if we will allocate more than one frame the answer will never be q.
0
what they have  said is MAXIMUM page fault...which will occure in case of 1 frame allocation
0
Correct :)

Related questions

+1 vote
1 answer
5
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
48,411 questions
52,746 answers
183,341 comments
68,213 users