CS FundamentalsEasyWipro · Cognizant pattern

A child process has terminated, but its parent has not yet called wait() to read its exit status. The child is now a:

  1. A. Daemon process
  2. B. Suspended process
  3. C. Zombie process
  4. D. Orphan process

Correct answer: C. Zombie process

A zombie keeps its PID and an entry in the process table until the parent reaps it with wait(). An orphan is the opposite case: the parent died first and init/systemd adopts the child.

More Operating Systems questions

Exams that ask this topic