Input (grade 8): A context switch is the computing process of storing and restoring state (context) of a CPU so that execution can be resumed from the same point at a later time. This enables multiple processes to share a single CPU.
Output (grade 12): A context switch is the computing process of saving and restoring the state (context) of a CPU such that multiple processes can share a single CPU resource.