Which of the following is an accurate definition of 'Context Switching'? MCQ with Answer and Explanation

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.

This question belongs to: Computer Operating Systems

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Operating Systems Questions

Question #1 Report Error
What is the main advantage of preemptive multitasking over cooperative multitasking?
A. It requires less memory
B. Processes voluntarily yield CPU time
C. The OS can force CPU time allocation, preventing a process from monopolizing the CPU
D. It is simpler to implement

Correct Answer: Option C


Explanation:
Preemptive multitasking allows the OS to interrupt a process and allocate CPU to others, ensuring fairness; cooperative relies on processes to yield.

This question belongs to: Computer Operating Systems
Question #2 Report Error
What type of multitasking architecture requires application designers to build yield points inside code routines to prevent an app from locking up the system?
A. Real-Time Scheduling
B. Cooperative Multitasking
C. Preemptive Multitasking
D. Symmetric Multiprocessing

Correct Answer: Option B


Explanation:
Cooperative multitasking depends completely on applications behaving correctly and yielding execution back to the OS scheduler loop.

This question belongs to: Computer Operating Systems
Question #3 Report Error
Which of the following is a Linux distribution that is known for its stability and long-term support?
A. Fedora
B. Ubuntu LTS
C. Gentoo
D. Arch Linux

Correct Answer: Option B


Explanation:
Ubuntu LTS (Long Term Support) releases are stable with updates for 5 years, widely used in enterprise.

This question belongs to: Computer Operating Systems