Which of the following is an accurate definition of 'Context Switching'?
A. Moving external storage hardware devices from one USB port to another.
B. The process of saving the state of a current process and loading the saved state of a new process onto the CPU.
C. Changing the user interface theme from a dark layout to a light layout.
D. Upgrading an operating system from Windows 10 to Windows 11.
Answer: Option B
Solution (By JKExamLibrary)
Context switching is the mechanical process of storing and restoring the execution state (context) of a CPU core so that execution can resume from the same point later.
Explanation:
Preemptive multitasking allows the OS to interrupt a process and allocate CPU to others, ensuring fairness; cooperative relies on processes to yield.
What type of multitasking architecture requires application designers to build yield points inside code routines to prevent an app from locking up the system?
No comments yet. Be the first to start the discussion!