Sequential access advances through a file in a defined order, commonly one record or byte range at a time.
It is natural for logs, streams, and tape-like processing.
Correct Answer: C. A small integer index referring to an entry for an open file or I/O object
Explanation:
A file descriptor is the process-level handle used by operations such as read, write, and close.
The kernel maps it to open-file state and the underlying object.
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: 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: 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: 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: 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: B. The next page-table entry to examine as a possible victim
Explanation:
Clock arranges candidate frames conceptually in a circle and scans them using a pointer.
Referenced pages receive another chance while unreferenced pages can be selected.
Correct Answer: A. It skips a page with a set reference bit and clears the bit before reconsidering it later
Explanation:
Second chance uses the reference bit to avoid immediately removing a recently accessed page.
Pages with no recent reference remain candidates in approximate FIFO order.