Question

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

Option 3 : fork creates a new child process and exec replaces the calling process image / fork नया चाइल्ड प्रोसेस बनाता है और exec कॉलिंग प्रोसेस इमेज बदल देता है

Advertisement

Detailed Solution

सही उत्तर fork creates a new child process and exec replaces the calling process image / fork नया चाइल्ड प्रोसेस बनाता है और exec कॉलिंग प्रोसेस इमेज बदल देता है है।

Key Points
Helpful?
PrepSnapprepsnap.in • Part -A

Question:

A student mixes up the Unix process system calls. Which pairing of call and purpose is stated correctly? / एक छात्र यूनिक्स प्रोसेस सिस्टम कॉल गड़बड़ा देता है। कॉल और उद्देश्य की कौन सी जोड़ी सही कही गई है?

1.
fork replaces the current process image with a new program / fork वर्तमान प्रोसेस इमेज को नए प्रोग्राम से बदल देता है
2.
exec creates an exact duplicate child process / exec हूबहू दोहरा चाइल्ड प्रोसेस बनाता है
3.
fork creates a new child process and exec replaces the calling process image / fork नया चाइल्ड प्रोसेस बनाता है और exec कॉलिंग प्रोसेस इमेज बदल देता है
4.
wait creates a thread while join terminates it / wait थ्रेड बनाता है जबकि join उसे समाप्त करता है

Correct Answer: fork creates a new child process and exec replaces the calling process image / fork नया चाइल्ड प्रोसेस बनाता है और exec कॉलिंग प्रोसेस इमेज बदल देता है

fork clones the calling process into a parent-child pair, while the exec family overlays a new program onto the calling process without creating a new process. / fork कॉलिंग प्रोसेस का क्लोन बनाकर पैरेंट-चाइल्ड जोड़ी बनाता है, जबकि exec परिवार नया प्रोसेस बनाए बिना कॉलिंग प्रोसेस पर नया प्रोग्राम चढ़ा देता है।

Downloaded from PrepSnap (prepsnap.in)