Question - Discuss the difference between swapping and paging?
Answer -
Swapping: The complete process is moved to the main memory for execution. To provide the memory requirement, the process size must be less than the available main memory capacity. The implementation is easy but is an overhead to the system. Memory handling is not more flexible with swapping systems.
Paging: Only the required memory pages are moved to the main memory for execution. The size of the process does not matter for execution and it does not need to be less than available memory size. Allow a number of processes to load to the main memory simultaneously.