Question

1.
2.
3.
4.
Answer (Detailed Solution Below)

Option 4 : Program counter, CPU registers and the process control block state / प्रोग्राम काउंटर, CPU रजिस्टर और प्रोसेस कंट्रोल ब्लॉक स्थिति

Advertisement

Detailed Solution

सही उत्तर Program counter, CPU registers and the process control block state / प्रोग्राम काउंटर, CPU रजिस्टर और प्रोसेस कंट्रोल ब्लॉक स्थिति है।

Key Points
Helpful?
PrepSnapprepsnap.in • Part -A

Question:

The kernel switches the CPU from a running video encoder to a waiting web server process. What must the kernel preserve so the encoder can resume exactly where it stopped? / कर्नेल CPU को चल रहे वीडियो एनकोडर से प्रतीक्षारत वेब सर्वर प्रोसेस पर ले जाता है। एनकोडर ठीक वहीं से फिर शुरू हो सके, इसके लिए कर्नेल को क्या सुरक्षित रखना होगा?

1.
Only the process name and its priority level / केवल प्रोसेस का नाम और उसकी प्रायोरिटी स्तर
2.
Only the list of open network sockets / केवल खुले नेटवर्क सॉकेटों की सूची
3.
Only the total CPU time consumed so far / केवल अब तक खर्च हुआ कुल CPU समय
4.
Program counter, CPU registers and the process control block state / प्रोग्राम काउंटर, CPU रजिस्टर और प्रोसेस कंट्रोल ब्लॉक स्थिति

Correct Answer: Program counter, CPU registers and the process control block state / प्रोग्राम काउंटर, CPU रजिस्टर और प्रोसेस कंट्रोल ब्लॉक स्थिति

A context switch saves the full execution context, program counter, registers, stack pointer and kernel bookkeeping in the PCB, so the process can be restored bit-for-bit later. / कॉन्टेक्स्ट स्विच पूर्ण निष्पादन संदर्भ — प्रोग्राम काउंटर, रजिस्टर, स्टैक पॉइंटर और PCB में कर्नेल लेखा — सहेजता है, ताकि प्रोसेस बाद में बिट-दर-बिट बहाल हो सके।

Downloaded from PrepSnap (prepsnap.in)