in Operating System retagged by
674 views
3 votes
3 votes

Consider the following statements:

$S_1$: An increase in the number of page frames allotted to a process always increases the page fault rate in $\text{FIFO}$ page replacement policy, regardless of the page reference sequence

$S_2$:  It is not necessary to have the loader in main memory all the time.

Which of the above statements is/are CORRECT?

  1. Only $S_1$
  2. Only $S_2$
  3. Both $S_1$ and $S_2$ 
  4. Neither $S_1$ nor $S_2$ 
in Operating System retagged by
by
674 views

1 Answer

2 votes
2 votes
Best answer
When you increase the number of frames, using $FIFO$ can sometimes result in increased page fault due to Belady's anomaly .

This does not occur always. Hence, $S1$ is false .

Loader is responsible for loading a process which is supposed to execute on $CPU$ from the main memory. So, it is necessary for Loader to be in main memory. That makes $S2$ also wrong.

$S1$ is also wrong because the number of page faults depends on the reference policy we use. But here, they mentioned it as irrespective of reference policy.
selected by

4 Comments

@Bikram sir @Arjun sir

But in S1 it is mentioned Sometimes already

0
0
But Sir, que itself says 'sometimes' therefore we will consider that 1 case of sometime where belady's anamoly happens therefore statement 1 is true for this case.

Please correct the error or correct me if i am wrong.
0
0
Yes, the question statement was not matching with the answer. I have changed it now.
0
0
Answer:

Related questions