Which of the following is an accurate definition of 'Context Switching'?
A. Upgrading an operating system from Windows 10 to Windows 11.
B. Changing the user interface theme from a dark layout to a light layout.
C. Moving external storage hardware devices from one USB port to another.
D. The process of saving the state of a current process and loading the saved state of a new process onto the CPU.
Answer: Option D
Solution (By JKSSB Mock Tests)
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:
The Critical Section is a structural segment of program code that accesses shared resources or variables and must not be concurrently executed by multiple processes.
Explanation:
Application Programming Interfaces (APIs) and runtime libraries bridge user applications to the underlying system calls of the operating system kernel.
No comments yet. Be the first to start the discussion!