Interview Question
Created by admin on Sat, 17/11/2012 - 17:56
Question:
In the context of memory management, what are placement and replacement algorithms?
Language:
Answer:
Placement algorithms determine where in available real-memory to load a program. Common methods are first-fit, next-fit, best-fit. Replacement algorithms are used when memory is full, and one process (or part of a process) needs to be swapped out to accommodate a new program. The replacement algorithm determines which are the partitions to be swapped out.