Question

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

Option 1 : Only when the page is first referenced, triggering a page fault / केवल तब जब पेज पहली बार संदर्भित हो, जिससे पेज फ़ॉल्ट ट्रिगर होता है

Advertisement

Detailed Solution

सही उत्तर Only when the page is first referenced, triggering a page fault / केवल तब जब पेज पहली बार संदर्भित हो, जिससे पेज फ़ॉल्ट ट्रिगर होता है है।

Key Points
Helpful?
PrepSnapprepsnap.in • Part -A

Question:

A system advertises demand paging as its virtual-memory strategy. When exactly is a program's page loaded from disk into physical RAM? / एक सिस्टम अपनी वर्चुअल-मेमोरी रणनीति के रूप में डिमांड पेजिंग का विज्ञापन करता है। प्रोग्राम का पेज डिस्क से भौतिक RAM में ठीक कब लोड होता है?

1.
Only when the page is first referenced, triggering a page fault / केवल तब जब पेज पहली बार संदर्भित हो, जिससे पेज फ़ॉल्ट ट्रिगर होता है
2.
All pages are loaded together before the program starts / प्रोग्राम शुरू होने से पहले सभी पेज एक साथ लोड होते हैं
3.
Pages are loaded at fixed 10-second intervals in the background / पेज पृष्ठभूमि में निश्चित 10-सेकंड अंतराल पर लोड होते हैं
4.
Pages are never loaded and execute directly from the swap disk / पेज कभी लोड नहीं होते और स्वैप डिस्क से सीधे निष्पादित होते हैं

Correct Answer: Only when the page is first referenced, triggering a page fault / केवल तब जब पेज पहली बार संदर्भित हो, जिससे पेज फ़ॉल्ट ट्रिगर होता है

Demand paging is lazy: nothing is brought in until a reference to a not-present page causes a fault, at which point the OS fetches just that page. / डिमांड पेजिंग आलसी होती है: जब तक अनुपस्थित पेज का संदर्भ फ़ॉल्ट न कराए, कुछ नहीं लाया जाता; फ़ॉल्ट पर OS केवल वही पेज लाता है।

Downloaded from PrepSnap (prepsnap.in)