210-250 · Question #148
A child process that's permitted to continue on its own after its parent process is terminated. What is that child process called?
The correct answer is C. Orphan. An orphan process is a child process that continues running independently after its parent process has been terminated. This is a fundamental operating system process management concept.
Question
A child process that's permitted to continue on its own after its parent process is terminated. What is that child process called?
Options
- ALeaf.
- BChild tab.
- COrphan
- DZombie.
How the community answered
(56 responses)- A2% (1)
- B5% (3)
- C89% (50)
- D4% (2)
Why each option
An orphan process is a child process that continues running independently after its parent process has been terminated. This is a fundamental operating system process management concept.
A leaf node in a process tree refers to a process with no children of its own, not one whose parent has terminated.
Child tab is not a recognized operating system or process management term.
When a parent process terminates before its child, the child becomes an orphan process. On Unix-like systems, orphans are typically re-parented to the init process (PID 1) so they can be properly managed and eventually reaped when they finish execution.
A zombie process is one that has finished execution but still has an entry in the process table because its parent has not yet read its exit status via wait().
Concept tested: Orphan vs. zombie process lifecycle management
Source: https://www.gnu.org/software/libc/manual/html_node/Processes.html
Topics
Community Discussion
No community discussion yet for this question.