A process has finished executing, but its parent has not yet called wait() to collect its exit status. What is the child called?
Correct answer A. Zombie process
A terminated child keeps its process-table entry until the parent reads its exit status with wait(); until then it is a zombie. An orphan is the reverse situation, where the parent has terminated first while the child is still running; on Linux it is adopted by init or a subreaper. A daemon is simply a background service process.
Answer checked How we write and check questions
Discussion