When processes are swapped a Where are they before they are
When processes are “swapped”,
a) Where are they before they are swapped and where are they swapped to?
b) Why are they swapped (what benefit)?
Solution
Swapping is a technique to moving processes from secondary memory to primary memory. This happens when the program is large and cannot fit into the main memory. The large program will be divided into number of chucks and will be moved into the main memory based on the requirement. The processes that are not currently required are saved in secondary memory. They will be swapped to main memory from secondary memory when they are required. The benefit of swapping is with the less available memory large programs can be executed.

