A CPU-bound process spends most of its time executing computations and has relatively long CPU bursts.
An I/O-bound process instead performs frequent I/O and usually has shorter CPU bursts.
Correct Answer: C. To organize processes according to whether they await CPU time or a specific event
Explanation:
A ready queue contains processes eligible for CPU service, while wait queues group processes blocked for events.
This organization supports efficient scheduling and event handling.
Correct Answer: B. The time required to stop one process and start the process selected by the scheduler
Explanation:
Dispatch latency measures the overhead between the scheduling decision and actual execution of the selected process.
It includes activities such as context switching and transferring control.
The dispatcher performs the final handoff, including context switching, mode transition, and jumping to the chosen process.
The scheduler chooses the process, while the dispatcher starts its execution.
Correct Answer: D. The CPU state of the current process is saved and the next process's state is restored
Explanation:
A context switch preserves registers and other execution state so a process can later resume correctly.
The incoming process's saved state is then loaded before execution continues.
A zombie has completed execution but retains a small process-table entry containing exit information.
The entry disappears when the parent performs the appropriate wait operation.
An orphan is a still-running child whose original parent has terminated.
The system usually reassigns it to a designated system process for later management.
Correct Answer: A. The process executes its final instruction and requests exit
Explanation:
A process normally terminates after completing its work and invoking an exit operation.
The operating system then records status information and reclaims resources.
Correct Answer: D. The child may share all, some, or none of the parent's resources depending on OS policy
Explanation:
Operating systems may define different inheritance rules for files, address space, credentials, and other resources.
Process creation does not require one universal all-or-nothing sharing policy.
A process identifier, or PID, is used by the kernel and programs to refer to a specific process.
The other values identify memory positions, file types, or disk locations rather than processes.
Correct Answer: B. The hierarchical relationships among processes based on process creation
Explanation:
A process tree shows which processes created other processes, forming parent-child relationships.
It is unrelated to disk scheduling, paging, or access-control entries.