recategorized by
4,021 views
2 votes
2 votes

Consider a main memory with three page frames for the following page reference string:

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

Assuming that the execution of process is initialized after loading page 5 in memory,, the number of page faults in FIFO and second chance replacement respectively are

  1. 8 and 9
  2. 10 and 11
  3. 7 and 9
  4. 9 and 8
recategorized by

1 Answer

3 votes
3 votes

5, 4, 3, 2, 1, 4, 3, 5, 4, 3, 4, 1, 4  page frame are 3                     and  page 5 is already there so no page fault for 5

now execution starts 4 and 3 will come in with page fault no 1 and 2  

acc to FIFO page 2 ,1  will replace 5 and 4 and cause page fault no 3 and 4 and so on

9 w.r.to FIFO is only in choice D so it will be the ans 

Answer:

Related questions

2 votes
2 votes
1 answer
1
go_editor asked Jul 24, 2016
1,238 views
Match the following for Windows Operating System $:$$\begin{array}{} \text{(a)} & \text{Hardware} & \text{(i)} & \text{Starting all processes, emulation of different} \\...
1 votes
1 votes
1 answer
2
go_editor asked Jul 24, 2016
1,319 views
The portion of Windows 2000 operating system which is not portable isprocessor managementuser interfacedevice managementvirtual memory management
2 votes
2 votes
1 answer
3
go_editor asked Jul 24, 2016
5,168 views
Consider the following set of processes with the length of CPU burst time in milliseconds (ms) $:$$\begin{array}{|l|l|l|l|l|l|l|} \hline \textbf{Process} & \text{A} & \t...