...
Process-scheduling-algorithm
March 20, 2024
GATE 2018
March 20, 2024
Process-scheduling-algorithm
March 20, 2024
GATE 2018
March 20, 2024

Question 12976 – Operating-Systems

How many new processes will be created in case a process executes the following

code:

fork();

fork();

fork();

Correct Answer: B

Question 921 Explanation: 
The no. of new processes that will be created using n fork() when given directly is 2^n – 1.
Therefore the required answer is 2^3 – 1 = 7
A
9
B
7
C
6
D
8

Leave a Reply

Your email address will not be published. Required fields are marked *