← Quiz: OS Interview Questions: all 10 questions
Quiz: OS Interview Questions · Question 6 of 10
A program calls fork() four times in a row. How many processes exist in total?
A program calls fork() four times in a row. How many processes exist in total?
- A.4
- B.5
- C.8
- D.16
Answer & explanation
Correct answer: 16
Each fork doubles the count: 2⁴ = 16.
Can you get the rest right without peeking?
Take the timed Quiz: OS Interview Questions quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →