Assignment 2 - Question 13:

1,277 views
Skip to first unread message

Srinivas Kaparthi

unread,
Feb 8, 2021, 5:57:58 AM2/8/21
to Discussion forum for Operating System

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.

Arsh Gautam

unread,
Mar 24, 2021, 4:25:55 AM3/24/21
to Discussion forum for Operating System, srinivas...@gmail.com
Thanks for pointing. We have modified this answer already.
Reply all
Reply to author
Forward
0 new messages