GATE 2004-IT
October 5, 2023Operating-Systems
October 5, 2023Operating-Systems
Question 11
|
A process executes the following segment of code:
for(i = 1; i < = n; i++) fork();
The number of new processes created is
n
|
|
n(n+1)/2
|
|
2n – 1
|
|
3n – 1
|
Question 11 Explanation:
The number of new processes or child processes created is,
2n – 1.
2n – 1.
Correct Answer: C
Question 11 Explanation:
The number of new processes or child processes created is,
2n – 1.
2n – 1.
Subscribe
Login
0 Comments