Question
Option 3 : 1988 bytes, internal fragmentation / 1988 बाइट, इंटरनल फ्रैग्मेंटेशन
Detailed Solution
सही उत्तर 1988 bytes, internal fragmentation / 1988 बाइट, इंटरनल फ्रैग्मेंटेशन है।
Question:
A paging system uses 4 KB pages. A process of size 10300 bytes is loaded into memory. How much memory is wasted, and what kind of fragmentation is it? / एक पेजिंग प्रणाली 4 KB पेज उपयोग करती है। 10300 बाइट आकार की प्रोसेस मेमोरी में लोड की गई। कितनी मेमोरी व्यर्थ होगी और यह किस प्रकार का फ्रैग्मेंटेशन है?
Correct Answer: 1988 bytes, internal fragmentation / 1988 बाइट, इंटरनल फ्रैग्मेंटेशन
10300 bytes need ceil(10300/4096) = 3 pages = 12288 bytes. Wasted = 12288 - 10300 = 1988 bytes inside the last allocated page, which is internal fragmentation. Paging never causes external fragmentation. / 10300 बाइट हेतु 3 पेज (12288 बाइट) चाहिए; व्यर्थ = 1988 बाइट अंतिम पेज के भीतर, अर्थात इंटरनल फ्रैग्मेंटेशन।