Question - What is context switching ?
Answer -
1. It is the process of switching the CPU from one process to another.
2. This requires to save the state of the old process and loading the saved state for the new process.
3. The context of the process is represented in the process control block.
4. During switching the system does no useful work.
5. How the address space is preserved and what amount of work is needed depends on the memory management.