adplus-dvertising
frame-decoration

Question

A process executes the code,

fork();
fork();
fork();

How many child processes are created?

a.

5

b.

8

c.

7

d.

9

Posted under Operating System

Answer: (c).7

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. A process executes the code, fork(); fork(); fork(); How many child processes are created?

Similar Questions

Discover Related MCQs

Q. An operating system maintains smaller data structures for a thread than a process, as a thread is usually defined as a ‘ light weight process ’. What is the per thread basis of the operating system?

Q. Consider the following statements:

a. With the use of kernel supported threads context switch is faster.
b. The entire process can be blocked by the system for user - level threads.
c. Kernel supported threads can be scheduled independently.
d. User level threads are transparent to the kernel.

Which of the above statements are true?

Q. Which of the following is not a fundamental process state

Q. Which of these is a component of a process precedence sequence?

Q. Threads of a process share

Q. Process is ........................

Q. State whether true or false.

i) Multithreading is useful for application that perform a number of essentially independent tasks
that do not be serialized.
ii) An example of multithreading is a database server that listens for and process numerous client
request.

Q. The typical elements of process image are .....................

i) User data ii) System Data iii) User program iv) System stack

Q. Which of the following is not the function of Micro kernel?

Q. .................. refers to the ability of an operating system to support multiple threads of execution with a single process.

Q. State whether the following statement is true.

i) It takes less time to terminate a thread than a process.
ii) Threads enhance efficiency in communication between different executing programs.

Q. The unit of dispatching is usually referred to as a …………..

Q. State true or false.

i) Unix, support multiple user process but only support one thread per process.
ii) A java run time environment is an example of a system of one process with multiple threads.

Q. …………… are very effective because a mode switch is not required to switch from one thread to another.

Q. Which of the following describes the ability of an OS to support multiple, concurrent paths of execution within a single process?

Q. Process is

Q. The Memory Buffer Register (MBR)

Q. Fork is

Q. A form of code that uses more than one process and processor, possibly of different type, and that may on occasions have more than one process or processor active at the same time, is known as

Q. A program