42.1k views
4 votes
The switching of the CPU from one process or thread to another is called :

a) process switch
b) task switch
c) context switch
d) All of these

User Haryono
by
8.5k points

1 Answer

5 votes

Final answer:

A context switch is the process by which a CPU switches from one process or thread to another, saving and loading the state of each process to enable efficient multitasking.

Step-by-step explanation:

The switching of the CPU from one process or thread to another is called a context switch. When a context switch occurs, the state of the current process or thread is saved so that it can be resumed later and the state of the new process or thread is loaded. This is similar to a person standing up from a seated position, which requires changing their current state to a new one. However, the context switch is more closely aligned with the systematic method described by option c, as it generally follows the same path every cycle, which is saving and loading process states efficiently to allow multitasking.

.

User Kevinbrink
by
7.8k points