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

Could anyone give an example.

asked in Operating System by Active (1.7k points) | 63 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
+1 vote
0 answers
7
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,807 questions
54,504 answers
188,309 comments
74,893 users