CS FundamentalsHardGATE CS

Assertion (A): Local page replacement can reduce thrashing caused by one misbehaving process affecting others. Reason (R): With local replacement a process can take frames only from its own allocation.

  1. A. Both A and R are true, but R is not the correct explanation of A
  2. B. A is true but R is false
  3. C. A is false but R is true
  4. D. Both A and R are true, and R is the correct explanation of A

Correct answer: D. Both A and R are true, and R is the correct explanation of A

Under global replacement a thrashing process steals frames from others and spreads the problem. Local replacement confines the damage, at the cost of possibly under-using free memory.

More Operating Systems questions

Exams that ask this topic