Which of the following is a method of memory allocation that allows the operating system to move memory blocks around in physical memory to optimize available memory?
16 views
- Static memory allocation
- Dynamic memory allocation
- Fragmentation
- Virtual memory (Correct Answer)
Explanation
Correct answer: d) Virtual memory
Explanation: Virtual memory is a memory management technique that allows the operating system to use disk space as an extension of physical memory. It allows memory blocks to be moved around in physical memory as needed to optimize available memory. Static memory allocation and dynamic memory allocation do not involve moving memory blocks around, and fragmentation is a result of inefficient memory allocation and deallocation.