To Implement Contiguous Memory Management Techniques

Post Test

1. Which of the following techniques can be used to overcome external fragmentation in contiguous memory allocation?

a) Compaction
b) Paging
c) Segmentation
d) All of the above

2. Which of the following is a benefit of using virtual memory?

a) Increased memory usage efficiency
b) Reduced memory fragmentation
c) Faster program execution
d) All of the above

3. What is the difference between internal and external fragmentation?

a) Internal fragmentation occurs within a page, while external fragmentation occurs between pages.
b) External fragmentation occurs within a segment, while internal fragmentation occurs between segments.
c) Internal fragmentation is caused by swapping, while external fragmentation is caused by paging.
d) Internal fragmentation is a problem with segmentation, while external fragmentation is a problem with paging.

4. What is the term for the memory space that is allocated to a process but not currently being used?

a) Free Space
b) Internal Fragmentation
c) External Fragmentation
d) Virtual Memory

5. What is a major challenge in implementing a memory management system?

a) Balancing performance and efficiency
b) Ensuring security and integrity
c) Managing fragmentation
d) All of the above