Question:
In a paging system, the page size is 2 KB. If a process requires 95,000 bytes of memory, how much internal fragmentation occurs in the last allocated page frame?
पेजिंग प्रणाली में पेज का आकार 2 KB है। यदि किसी प्रक्रिया को 95,000 बाइट्स मेमोरी की आवश्यकता है, तो अंतिम आवंटित पेज फ्रेम में कितना आंतरिक विखंडन (Internal Fragmentation) होगा?
Options:
- 1,232 bytes
- 816 bytes
- 1,024 bytes
- 512 bytes
- 1,232 बाइट्स
- 816 बाइट्स
- 1,024 बाइट्स
- 512 बाइट्स
Correct Answer: a)
Explanation:
Page size = 2 KB = 2048 bytes.
Number of pages needed = \(\lceil 95000 / 2048 \rceil = \lceil 46.386 \rceil = 47\) pages.
Total allocated memory = \(47 \times 2048 = 96,256\) bytes.
Internal fragmentation = \(96,256 – 95,000 = 1,232\) bytes.
Number of pages needed = \(\lceil 95000 / 2048 \rceil = \lceil 46.386 \rceil = 47\) pages.
Total allocated memory = \(47 \times 2048 = 96,256\) bytes.
Internal fragmentation = \(96,256 – 95,000 = 1,232\) bytes.
पेज आकार = 2048 बाइट्स। आवश्यक पेज = 47। आवंटित मेमोरी = \(47 \times 2048 = 96256\) बाइट्स। आंतरिक विखंडन = \(96256 – 95000 = 1232\) बाइट्स।