...
Question 1106 – Memory-Devices
May 17, 2024
HCU PHD CS MAY 2015
May 18, 2024
Question 1106 – Memory-Devices
May 17, 2024
HCU PHD CS MAY 2015
May 18, 2024

Question 909 – Fork

The process executes the following code and after execution ____ number of child process get created.

fork();

fork();

fork();

fork();

Correct Answer: C

Question 1 Explanation: 
Step-1: The number of child processes of “n” fork() system calls are 2n-1.
Step-2: Total 4 fork() system calls. It means n=4
= 2n-1
= 24-1
= 15
A
4
B
1
C
15
D
16

Leave a Reply

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