Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
216 views
in Computer by (72.7k points)
closed by

The locality of reference concept will fail in which of the following cases?

Where there are


1. Many conditional jumps
2. Many unconditional jumps
3. Many operands 
4. None of the above

1 Answer

0 votes
by (121k points)
selected by
 
Best answer
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.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...