Question: Which of the following are true about ZOMBIE process?
Options
1. OS does not clear the information of a ZOMBIE process unless wait() function is called
2. The init process is the new parent of a ZOMBIE process
3. When a child process exits before parent process then the child process is called ZOMBIE process
4. When a parent process exits before child process then the child process is called ZOMBIE process
5. ZOMBIE processes are the living dead: they stay alive even after switching the machine off
Options 1, 2 and 4 are given as accepted answers.
But the right answers, I think are are options 1 and 3.
Because
A) When a parent process exits before child process then the child process is called orphan process. So 4 is incorrect.
B) For an orphan process, init is the new parent. So option 2 is incorrect.
C) When a child process exits before parent process then the child process is called zombie process. So option 3 is correct.