CS FundamentalsEasyGATE CS (PYQ pattern)

A lottery scheduler holds a fresh draw every quantum. Process A has 100 tickets, B has 200 and C has 300 (every process always stays runnable). What is the probability that A runs at least once in the next 3 quanta?

  1. A. 42.1%
  2. B. 50.0%
  3. C. 16.7%
  4. D. 57.9%

Correct answer: A. 42.1%

P(A loses a single draw) = 500/600 = 5/6, so P(A never runs in 3 draws) = (5/6)^3 = 0.5787 and the answer is 1 - 0.5787 = 42.1%. 50% is 3 x 1/6.

More Operating Systems questions

Exams that ask this topic