822 views
1 votes
1 votes
The address sequence generated by tracing a particular program executing in a pure demand paging system with 100 records per page with 1 free main memory frame is recorded as follows.What is the number of page faults ?

780,450,456,520,599,098,108,109,754,555

1 Answer

Best answer
1 votes
1 votes

There are 100 records per page.

Records      Page number

0-99                    0

100-199              1

200-299             2

300-399             3

400-499             4

500-599             5

600-699             6

700-799             7

So, the page sequence or the reference string is 7 4 4 5 5 0 1 1 7 5 and there is only frame in main memory.

7  4   4  5   5  0   1  1   7  5

F  F  H  FF  F F F

So, in all we have 7 page faults.

selected by

Related questions

0 votes
0 votes
0 answers
1
SSR17 asked Feb 8
208 views
we have 8 pages (each side 32B) to store in physical memory of 2^32 bits how many bits are required to identify each page , according to me 3 bits are required but that i...
0 votes
0 votes
2 answers
4
Unique_999 asked Aug 17, 2023
320 views
Can Any explain the relationship between The “ Word Size “ and “ Logical Address Space “