CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
2
You visited us 2 times! Enjoying our articles? Unlock Full Access!
Question

A demand paging system takes 100 times units to service a page fault and 300 time units to replace a dirty page. Memory access time is 1 time unit. The probability of a page fault is p. In case of a page fault, the probability of page being dirty is also p. It is observed that the average access time is 3 time units. Then the value of p access time is 3 times units. Then the value of P is

A
0.233
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
0.981
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
0.194
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
0.514
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C 0.194
Average Access Time =(1p)(Tmem)+p[p(S.T.dirty)+(1p)(S.T.not dirty))]
3=(1p)(1)+p(p×300)+(1p)×100
3=1p+p2300 p 100 p2 100
3=1+99 p+200p2
200p2+99p2=0
p=b±b24ac2a
p0.0194

flag
Suggest Corrections
thumbs-up
1
similar_icon
Similar questions
View More
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Demand Paging
OTHER
Watch in App
Join BYJU'S Learning Program
CrossIcon