![subject](/tpl/images/cats/User.png)
Engineering, 13.11.2019 20:31 hwhite41
Apage-replacement algorithm should minimize the number of page faults. we can achieve this minimization by distributing heavily used pages evenly over all of memory, rather than having them compete for a small number of page frames. we can associate with each page frame a counter of the number of pages associated with that frame. then, to replace a page, we can search for the page frame wit the smallest counter.
define a page-replacement algorithm using this basic idea. specifically address these problems:
i. what is the initial value of the counters.
ii. when are counters increased
iii. when are counters decreased
iv. how is the page to be replaced selected?
b. how many pages faults occur for your algorithm for the following reference string with four page frames?
1,2,3,4,5,3,4,1,6,7,8,7,8,9,7,8,9,5 ,4,5,4,2
![ansver](/tpl/images/cats/User.png)
Answers: 3
Another question on Engineering
![question](/tpl/images/cats/User.png)
Engineering, 03.07.2019 14:10
Line joining liquid phase with liquid and solid phase mixture is known as: a) liquidus b) solidus c) tie line d) none of the mentioned
Answers: 2
![question](/tpl/images/cats/User.png)
Engineering, 04.07.2019 18:10
During a steady flow process, the change of energy with respect to time is zero. a)- true b)- false
Answers: 2
![question](/tpl/images/cats/User.png)
Engineering, 04.07.2019 18:10
Water in a partially filled large tank is to be supplied to the roof top, which is 8 m above the water level in the tank, through a 2.2-cm-internal-diameter pipe by maintaining a constant air pressure of 300 kpa (gage) in the tank. if the head loss in the piping is 2 m of water, determine the discharge rate of the supply of water to the roof top in liters per second.
Answers: 3
![question](/tpl/images/cats/User.png)
Engineering, 04.07.2019 18:20
Avolume of 2.65 m3 of air in a rigid, insulated container fitted with a paddle wheel is initially at 264 k, 5.6 bar. the air receives 432 kj by work from the paddle wheel. assuming the ideal gas model with cv = 0.71 kj/kg • k, determine for the air the amount of entropy produced, in kj/k
Answers: 2
You know the right answer?
Apage-replacement algorithm should minimize the number of page faults. we can achieve this minimizat...
Questions
![question](/tpl/images/cats/mkx.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 30.03.2021 01:00
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/ap.png)
Advanced Placement (AP), 30.03.2021 01:00
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/istoriya.png)
History, 30.03.2021 01:00
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 30.03.2021 01:00
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 30.03.2021 01:00
![question](/tpl/images/cats/himiya.png)
Chemistry, 30.03.2021 01:00
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 30.03.2021 01:00
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 30.03.2021 01:00
![question](/tpl/images/cats/himiya.png)
Chemistry, 30.03.2021 01:00