CS FundamentalsModerateGATE CS

A system has 62 free frames shared by two processes of sizes 10 pages and 127 pages, allocated proportionally to size (rounded down). How many frames does each get?

  1. A. 31 and 31
  2. B. 5 and 57
  3. C. 4 and 58
  4. D. 4 and 57

Correct answer: D. 4 and 57

Proportional allocation: 10/137 × 62 ≈ 4.53 → 4 and 127/137 × 62 ≈ 57.47 → 57. Equal allocation would give 31 each.

More Operating Systems questions

Exams that ask this topic