Indexed access searches an index that maps keys or record numbers to data locations.
It combines fast lookup with the ability to traverse records in an indexed order.
Correct Answer: C. State shared by open instances, such as file position, access mode, reference count, and metadata links
Explanation:
The open-file table records kernel state needed while files are actively open.
Process file descriptors refer to these entries rather than duplicating all underlying information.
Correct Answer: D. To coordinate concurrent access so processes do not perform conflicting file operations
Explanation:
File locks can provide shared-read or exclusive-write coordination among processes.
They help preserve consistency when several users or programs access the same file.
Correct Answer: D. It can avoid extra copying between a kernel buffer and a user buffer
Explanation:
Mapped I/O allows the page cache pages to appear directly in the process address space.
This can reduce system-call and data-copy overhead for suitable access patterns.
Correct Answer: C. Some instructions need several pages resident to complete and restart safely
Explanation:
An instruction may span pages and access multiple operands, requiring several resident frames.
Too few frames could make correct execution or page-fault restart impossible.
Correct Answer: D. According to each process's memory size relative to the total size
Explanation:
Proportional allocation gives larger processes a larger share of the available frame pool.
The policy can be extended with minimums, maximums, or priority adjustments.
Correct Answer: A. The set of pages referenced during a recent time window
Explanation:
The working set estimates the process's current locality of active pages.
Keeping this set resident helps the process execute with a low page-fault rate.
Correct Answer: B. A condition in which the system spends most of its time paging because processes lack enough frames for their active localities
Explanation:
During thrashing, frequent page faults cause heavy disk activity and little useful CPU execution.
Reducing multiprogramming or allocating more frames to active working sets can restore performance.
Correct Answer: C. Loading pages expected to be used soon before they are individually faulted
Explanation:
Prepaging attempts to reduce a burst of future page faults by fetching a cluster of likely useful pages.
If predictions are poor, unnecessary I/O and memory use can result.
Correct Answer: D. The original memory reference did not complete and must execute again with the page now resident
Explanation:
A precise page fault occurs before the instruction successfully completes its required memory access.
Restarting the instruction preserves the same program behavior as if the page had already been present.