Correct Answer - Option 2 : Many unconditional jumps
The locality of the reference concept will fail where there are many unconditional jumps.
Concept
The locality of Reference:
- It is the phenomenon in which a computer program tends to access the same set of memory locations for a particular time period. There are two basic types of reference locality – temporal and spatial locality.
-
Temporal locality: If at one point a particular memory location is referenced, then it is likely that the same location will be referenced again in the near future.
-
Spatial locality: If a particular storage location is referenced at a particular time, then it is likely that nearby memory locations will be referenced in the near future.
- In unconditional Jump, the computer program won't be able to access the same set of memory locations for a particular time period.