Question

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

Option 3 : read, write / रीड, राइट

Advertisement

Detailed Solution

सही उत्तर read, write / रीड, राइट है।

Key Points
Helpful?
PrepSnapprepsnap.in • Part -A

Question:

In Unix, a parent process writes to a pipe and its child reads from it for one-way communication. For correct operation, the parent must close the ___ end and the child must close the ___ end of the pipe. / यूनिक्स में, एकतरफा संचार हेतु पैरेंट प्रोसेस पाइप में लिखता है और उसका चाइल्ड उससे पढ़ता है। सही संचालन हेतु पैरेंट को पाइप का ___ सिरा बंद करना चाहिए और चाइल्ड को ___ सिरा बंद करना चाहिए।

1.
write, read / राइट, रीड
2.
read, read / रीड, रीड
3.
read, write / रीड, राइट
4.
write, write / राइट, राइट

Correct Answer: read, write / रीड, राइट

The writer keeps only the write end open and the reader keeps only the read end open; each closes the end it does not use so that EOF is delivered correctly when the writer finishes. / लेखक केवल राइट सिरा खुला रखता है और पाठक केवल रीड सिरा खुला रखता है; प्रत्येक वह सिरा बंद करता है जिसका वह उपयोग नहीं करता ताकि लेखक के समाप्त होने पर EOF सही ढंग से मिले।

Downloaded from PrepSnap (prepsnap.in)