🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.4
  2. B.5
  3. C.8
  4. 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 →