CS FundamentalsEasyGATE CS (PYQ pattern)

Which of the following statements about read-copy-update (RCU) are correct? I. Readers traverse the data structure without taking locks. II. A writer must wait for a grace period before freeing the old version of an updated object. III. A concurrent reader may see either the old or the new version of an object, but never a partially updated one. IV. RCU is best suited to workloads dominated by updates.

  1. A. I and II only
  2. B. II, III and IV only
  3. C. I, II and III only
  4. D. I and IV only

Correct answer: C. I, II and III only

RCU optimises read-mostly data: readers are lock-free, writers publish a new copy atomically and reclaim the old one after all pre-existing readers finish. IV is false: update-heavy loads pay copying and grace-period costs.

More Operating Systems questions

Exams that ask this topic