recategorized by
2,571 views

1 Answer

2 votes
2 votes
Number of child processes created when number of fork() calls are n = $2^{n}$-1

Here, number of times fork() is invoked = 4

So total number of child processes = $2^{4}$-1 = 15
Answer:

Related questions

0 votes
0 votes
1 answer
1
Arjun asked Dec 7, 2018
2,088 views
Find the effective access time for the memory for the given data.Page fault service time $=8$ msAverage memory access time $=20$ nsOne page fault is generated for every m...
0 votes
0 votes
2 answers
2
Arjun asked Dec 7, 2018
3,412 views
Decreasing the RAM causesfewer page faultsmore page faultsvirtual memory gets increasedvirtual memory gets decreased
0 votes
0 votes
2 answers
3
Arjun asked Dec 7, 2018
1,209 views
In the disk, swap space is used to _______.save XML filessave process datasave driverssave HTML files
0 votes
0 votes
1 answer
4
Arjun asked Dec 7, 2018
973 views
In a system, counting semaphore was initialized to $10$, then $6P$(wait) operations and $4V$ (signal) operations were completed on this semaphore. So _____ is the final v...