Operating system/Page replacement policy Sample Test,Sample questions

Question: Belady anomaly is occur in case of-

1.LRU page replacement policy

2.FIFO page replacement policy

3.Optimal page replacement policy

4.All of the above


Question: Consider a page string 1 2 3 4 1 2 5 1 2 3 4 5, and we have 3 number of frame available, and if we use FIFO policy for page replacement policy then the number of page fault occur is ?

1.10

2.12

3.13

4.9


Question: Consider a page string 1 2 3 4 1 2 5 1 2 3 4 5, and we have 4 number of frame available, and if we use FIFO policy for page replacement policy then the number of page fault occur is ?

1.13

2.12

3.10

4.15


Question: Number of frame given is 3, and page strings are 2,3,4,2,1,5,3,2,4,6 if we use optimal page replacement policy then number of page faults occurs is ?

1.10

2.6

3.7

4.5


Question: Number of frame given is 5, and page strings are 3,8,2,3,9,1,6,3,8,9,3,6,2,1,3 if we use FIFO page replacement policy then number of page faults occurs is ?

1.10

2.9

3.12

4.8


Question: Number of frame given is 5, and page strings are 3,8,2,3,9,1,6,3,8,9,3,6,2,1,3 if we use LRU page replacement policy then number of page faults occurs is ?

1.10

2.11

3.8

4.9


Question: When we increases the number of frame so instead of decreasing the page fault it can increases, this type of anomaly known as

1.Belady anomaly

2.Frand anomaly

3.greedy anomaly

4.None of the above


Question: Which of the following page replacement policy guarantees minimal page fault ?

1.optimal

2.FIFO

3.LRU

4.MRU


Question: Which of the page replacement policy are not to be implemented in practical situation ?

1.FIFO

2.LRU

3.Optimal

4.LIFO


Question: While executing some processes,Page fault occur in FIFO, LRU and optimal are x,y and z respectively. which of the following are always considered as true ?

1.z is always greater or equal to the x

2.z is always greater or equal to the y

3.There is no relation between x and y

4.All of the above


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!