Correct Answer: D. Loading a page into memory only when it is first referenced
Explanation:
Demand paging postpones page loading until an actual access requires the page.
Unused pages therefore consume neither initial I/O time nor physical frames.
Correct Answer: C. A memory-management technique that lets a process execute without all of its address space being in physical memory
Explanation:
Virtual memory separates the process's logical address space from the amount of installed physical memory.
Only the currently needed portions must be resident, allowing larger programs and more multiprogramming.
Correct Answer: B. Only defined logical segments require mappings and storage
Explanation:
A process may define separated logical regions without allocating memory for the gaps between them.
This matches programs whose code, heap, stack, and modules occupy distinct ranges.
Correct Answer: A. Divide the logical address space into segments and divide each segment into fixed-size pages
Explanation:
The combined scheme preserves logical segmentation while using paging for noncontiguous physical allocation.
It reduces external fragmentation associated with allocating whole variable-sized segments contiguously.
Correct Answer: D. Variable-size segments require contiguous physical holes of different sizes
Explanation:
As variable-sized segments are allocated and removed, separated holes appear between them.
A new segment may fail to fit even when total free memory is sufficient.
Correct Answer: C. Per-segment protection attributes
Explanation:
Segmentation associates protection permissions with logical program units.
Hardware can enforce different read, write, and execute rights for each segment.
Correct Answer: B. A complete logical segment can be mapped into multiple processes
Explanation:
A library can occupy one segment with a defined base, limit, and access rights.
Different processes can reference the same physical segment through their own segment tables.
Correct Answer: A. A segmentation protection fault
Explanation:
The offset violates the segment's bounds and therefore refers outside the legal logical object.
The processor traps to the operating system instead of accessing arbitrary memory.
Correct Answer: D. The length or maximum valid offset of the segment
Explanation:
The limit defines the valid range of offsets within the selected segment.
Hardware compares the logical offset with this bound before forming a physical address.
Correct Answer: A. A variable-size logical unit such as code, stack, or a data module
Explanation:
Segmentation reflects the programmer's logical view by dividing a process into meaningful variable-sized regions.
Each segment has an independent base, length, and often protection attributes.