ISRO Computer Science (CSE) 2023 - Question 9

All ISRO Computer Science (CSE) papers | ISRO Computer Science (CSE) 2023

Topic: Operating Systems

Which of the following heap memory allocation strategies is likely to exploit spatial locality of memory accesses in a program, the most?

  • A. Best Fit
  • B. First Fit
  • C. Next Fit
  • D. Last Fit

Answer: C. Next Fit

Explanation: Next Fit allocation begins searching from the point of the last allocation. This clusters contiguous memory allocations together in memory over time, maximizing spatial locality.

| | All questions of ISRO Computer Science (CSE) 2023