128 views
3 votes
3 votes
Which of the following are possible with regard to processes in OS? (Mark all the appropriate choices)
  1. A child process running itself even when its parent process has finished execution.
  2. A process having an entry in the process table even after its execution being completed.
  3. A process changing its parent using appropriate system calls.
  4. A process having multiple parent processes at any time.

1 Answer

2 votes
2 votes
An orphan process is a computer process whose parent process has finished or terminated, though it (child process) remains running itself.

A zombie process or defunct process is a process that has completed execution but still has an entry in the process table as its parent process didn't invoke an wait() system call.

C and D are false.
Reference : https://unix.stackexchange.com/questions/193902/change-the-parent-process-of-a-process
edited by
Answer:

Related questions

1 votes
1 votes
1 answer
3
1 votes
1 votes
1 answer
4
gatecse asked Nov 27, 2020
96 views
Which of the following is/are example(s) of stateless application layer protocol? (Mark all the appropriate choices)$\text{POP3}$$\text{HTTP}$$\text{IMAP}$$\text{UDP}$