CS FundamentalsHardGATE CS

A program alternately computes for 20 ms and does disk I/O for 80 ms. With 4 such independent programs and the 1 − pⁿ model, what CPU utilisation results, and what would a fifth program add?

  1. A. about 59% → about 67%
  2. B. about 80% → about 100%
  3. C. about 41% → about 33%
  4. D. about 59% → about 59%

Correct answer: A. about 59% → about 67%

p = 0.8. 1 − 0.8⁴ = 1 − 0.4096 ≈ 59%; 1 − 0.8⁵ = 1 − 0.32768 ≈ 67%. Each extra process adds less (diminishing returns).

More Operating Systems questions

Exams that ask this topic