Skip to content
Related Articles

Related Articles

ISRO | ISRO CS 2008 | Question 60
  • Last Updated : 13 Jun, 2018

Fork is
(A) the creation of a new job
(B) the dispatching of a task
(C) increasing the priority of a task
(D) the creation of a new process


Answer: (D)

Explanation: fork() creates a new process by duplicating the calling process, The new process, referred to as child, is an exact duplicate of the calling process, referred to as parent, except for the following :

The child has its own unique process ID, and this PID does not match the ID of any existing process group.
The child’s parent process ID is the same as the parent’s process ID.
The child does not inherit its parent’s memory locks and semaphore adjustments.
The child does not inherit outstanding asynchronous I/O operations from its parent nor does it inherit any asynchronous I/O contexts from its parent.

So, option (D) is correct.
Refer: fork() in C

Quiz of this Question

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :