Practice mode Operating Systems

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

Explanation

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.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.