Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Operating%20System%20Interview%20Questions%20and%20Answers

Question: What is the Context Switch?
Answer: Switching the CPU to another process requires saving the state of the old process and loading the saved state for the new process. This task is known as a context switch. Context-switch time is pure overhead, because the system does no useful work while switching. Its speed varies from machine to machine, depending on the memory speed, the number of registers which must be copied, the existed of special instructions(such as a single instruction to load or store all registers).
Is it helpful? Yes No

Most helpful rated by users:

©2024 WithoutBook