Time taken to switch between user and kernel modes is ____ the time taken to…

2018

Time taken to switch between user and kernel modes is ____ the time taken to switch between two processes.

  1. A.

    more than

  2. B.

    independent

  3. C.

    less than

  4. D.

    equal to

Attempted by 808 students.

Show answer & explanation

Correct answer: C

Key idea: Switching between user mode and kernel mode does not require saving and restoring the full process context. In contrast, switching between two processes (a context switch) involves saving and restoring registers, the program counter, memory mappings, and other process-specific state. Conclusion: Therefore, the time taken to switch between user and kernel modes is less than the time taken to switch between two processes. मुख्य बिंदु: यूज़र मोड और कर्नेल मोड के बीच स्विच करने में पूरे प्रोसेस कॉन्टेक्स्ट को सेव/रीस्टोर नहीं करना पड़ता। इसके विपरीत, दो प्रोसेसों के बीच स्विच (कॉन्टेक्स्ट स्विच) में रजिस्टर, प्रोग्राम काउंटर, मेमोरी मैपिंग और अन्य प्रोसेस-विशेष स्थिति को सेव और रीस्टोर करना होता है। निष्कर्ष: इसलिए यूज़र–कर्नेल मोड स्विच में लगने वाला समय, दो प्रोसेसों के बीच स्विच के समय की तुलना में कम होता है। सही उत्तर: less than

Explore the full course: Up Lt Grade Assistant Teacher 2025