Why does an operating system perform context switching during multitasking?बहुकार्य के दौरान प्रचालन तंत्र प्रसंग परिवर्तन क्यों करता है?
Answer and explanationउत्तर और व्याख्या
Correct answer:सही उत्तर: To save one process state and give processor time to another processएक प्रक्रिया की स्थिति सुरक्षित कर दूसरी प्रक्रिया को प्रक्रमक समय देने के लिए
The governing concept is context switching in process management. When the scheduler pauses one process, the operating system saves its current context, including relevant processor registers and execution information, and loads the saved context of another process. This lets several programs share processor time and appear to run together. Option A states this purpose; the remaining choices are unrelated to scheduling or process execution.मुख्य अवधारणा प्रक्रिया प्रबंधन में प्रसंग परिवर्तन है। जब अनुसूचक किसी प्रक्रिया को थोड़ी देर रोकता है, तो प्रचालन तंत्र उसके प्रक्रमक रजिस्टरों और निष्पादन से जुड़ी वर्तमान स्थिति को सुरक्षित करता है तथा दूसरी प्रक्रिया की सुरक्षित स्थिति लोड करता है। इससे कई कार्यक्रम प्रक्रमक का समय बाँटकर साथ चलते हुए दिखाई देते हैं। इसलिए A सही है; बाकी विकल्प अनुसूचन या प्रक्रिया निष्पादन से संबंधित नहीं हैं।
Student feedback
Was this question useful?
👍 0 Helpful 👎 0 Not helpful
Yes 0% No 0%
0 responsesStudent Reviews
No published reviews yet.