Correct Answer: A. Partitions are created dynamically to match process memory requests
Explanation:
Variable partitioning allocates contiguous holes sized according to arriving process needs.
As processes enter and leave, external fragmentation can develop.
Correct Answer: D. Memory is divided in advance into a fixed number of partitions
Explanation:
Fixed partitions have predetermined boundaries and sizes established before process placement.
A process must fit in one available partition, which can cause internal fragmentation.
Correct Answer: C. The operating system occupies one region and one user process occupies the remaining region
Explanation:
Single-partition allocation supports only one resident user process in the available user-memory region.
It is simple but provides poor multiprogramming and memory utilization.
Correct Answer: B. Swap out a lower-priority process so a higher-priority process can be loaded
Explanation:
Roll out, roll in uses swapping to make memory available for a more urgent process.
The lower-priority process is restored when sufficient memory becomes available.
Correct Answer: A. Temporarily moving an entire process or substantial process image between memory and backing storage
Explanation:
Swapping frees main memory by transferring inactive process contents to a backing store.
The process can later be brought back into memory and resumed.
Dynamic linking uses a small runtime stub to locate and bind a shared library routine when needed.
It supports library sharing and updates without embedding every routine in each executable.
Correct Answer: C. Loading a routine into memory only when it is first called
Explanation:
Dynamic loading keeps unused routines out of memory until execution actually requires them.
This can reduce the process's memory footprint for large programs with rarely used code.
Correct Answer: B. To translate logical addresses into physical addresses at runtime
Explanation:
The memory-management unit performs hardware-supported address translation and protection checks.
It sits between processor-generated addresses and physical memory.
Execution-time binding translates addresses dynamically during every memory reference.
Hardware support such as an MMU allows the process to relocate while executing.