1.

Restricting the child process to a subset of the parent’s resources prevents any process from __________(a) overloading the system by using a lot of secondary storage(b) under-loading the system by very less CPU utilization(c) overloading the system by creating a lot of sub-processes(d) crashing the system by utilizing multiple resourcesThe question was posed to me at a job interview.My enquiry is from Process Creation topic in portion Processes of Operating System

Answer»

Correct answer is (c) overloading the SYSTEM by creating a lot of sub-processes

To explain I would SAY: Restricting the child process to a subset of the parent’s resources prevents any process from overloading the system by creating a lot of sub-processes. A process creates a child process, child process requires CERTAIN resources to complete its task. A child process can DEMAND required resources directly from the system, but by doing this system will be overloaded. So to avoid overloading of the system, the parent process SHARES its resources among children.



Discussion

No Comment Found

Related InterviewSolutions