Operating System

1:

Consider following page trace :

4,3,2, 1,4,3,5,4,3,2, 1,5

 Number  of page faults that would occur if FIFO page replacement algorithm is used with Number of frames for the Job M=3, will be

A.

8

B.

9

C.

10

D.

12

 

Answer : B

Explanation :

When M-3

T

1

2

3

4

5

6

7

8

9

10

11

12

Page Sequence

4

3

2

1

4

3

5

4

3

2

1

5

Memory

Frame

1st

4

4

4

1

1

1

5

5

5

5

5

5

2nd

 

3

3

3

4

4

4

4

4

4

1

1

3rd

 

 

2

2

2

3

3

3

3

2

2

2

Page fault

y

y

y

y

y

y

y

n

n

y

y

n

Total Page Fault = 9

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.