Question: Whan a process calls fork ( ) : [ Select ] [ TRUE , FALSE ] A child process that is a duplicate

Whan a process calls fork():
[ Select ]["TRUE", "FALSE"] A "child" process that is a duplicate of the calling process is created.
[ Select ]["FALSE", "TRUE"] Parent process retains is original process ID - let us call it pid; Child process is assigned the process ID pid-1(hyphen) indicating it is the first child of pid.
[ Select ]["TRUE", "FALSE"] If the parent process does not call "wait()",the child process will become a zombie process after completing execution of its code.
[ Select ]["TRUE", "FALSE"] Child will inherit the parent's open file descriptors and the parent loses access to those files.
[ Select ]["FALSE", "TRUE"] Child will inherit the parent's signal handlers

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!