edited by
9,336 views
25 votes
25 votes

Locality of reference implies that the page reference being made by a process

  1. will always be to the page used in the previous page reference

  2. is likely to be to one of the pages used in the last few page references

  3. will always be to one of the pages existing in memory

  4. will always lead to a page fault

edited by

2 Answers

Best answer
31 votes
31 votes

Answer is (B)

Locality of reference is also called as principle of locality.  It means that same data values or related storage locations are frequently accessed.  This in turn saves time.  There are mainly three types of principle of locality:

  1. temporal locality
  2. spatial locality
  3. sequential locality


This is required because in programs related data are stored in consecutive locations and in loops same locations are referred again and again

edited by
7 votes
7 votes
Answer: B
Answer:

Related questions

32 votes
32 votes
4 answers
1
Kathleen asked Sep 29, 2014
13,138 views
Thrashingreduces page I/Odecreases the degree of multiprogrammingimplies excessive page I/Oimprove the system performance
34 votes
34 votes
3 answers
2
Kathleen asked Sep 29, 2014
10,944 views
Dirty bit for a page in a page tablehelps avoid unnecessary writes on a paging devicehelps maintain LRU informationallows only read on a pageNone of the above
34 votes
34 votes
4 answers
3
21 votes
21 votes
3 answers
4
Kathleen asked Sep 29, 2014
4,970 views
The correct matching for the following pairs is$$\begin{array}{ll|ll}\hline \text{A.} & \text{All pairs shortest path} & \text{1.} & \text{Greedy} \\\hline \text{B.} & \...