adplus-dvertising
frame-decoration

Question

If exec is called immediately after forking,

a.

the program specified in the parameter to exec will replace the entire process

b.

all the threads will be duplicated

c.

all the threads may be duplicated

d.

none of the mentioned

Answer: (a).the program specified in the parameter to exec will replace the entire process

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. If exec is called immediately after forking,

Similar Questions

Discover Related MCQs

Q. If a process does not call exec after forking,

Q. Thread cancellation is :

Q. When a web page is loading, and the user presses a button on the browser to stop loading the page :

Q. When one thread immediately terminates the target thread, it is called :

Q. When the target thread periodically checks if it should terminate and terminates itself in an orderly manner, it is called :

Q. Cancelling a thread asynchronously :

Q. Cancellation point is the point where :

Q. If multiple threads are concurrently searching through a database and one thread returns the result then the remaining threads must be :

Q. Signals that occur at the same time, are presented to the process :

Q. Which of the following is not TRUE :

Q. Signals of a given type :

Q. The three ways in which a process responds to a signal are :

Q. Signals are identified by :

Q. When a process blocks the receipt of certain signals :

Q. The _______ maintains pending and blocked bit vectors in context of each process.

Q. In UNIX, the set of masked signals can be set or cleared using the ________ function.

Q. The usefulness of signals as a general inter process communication mechanism is limited because :

Q. The usual effect of abnormal termination of a program is :

Q. In UNIX, the abort() function sends the ________ signal to the calling process, causing abnormal termination.

Q. In most cases, if a process is sent a signal while it is executing a system call :