Placement AptitudeVery hardInfosys · Wipro NLTH · TCS NQT Verbal

The first sentence is fixed. Arrange P, Q, R and S in the most logical order. 1. A cache keeps recently used data close at hand so that it can be served faster next time. P: When the cache is full, something has to be evicted to make room. Q: The simplest rule evicts the entry that has gone unused for the longest time. R: That rule fails badly, however, when a program scans a huge data set only once. S: Scanned items push out useful entries and are then never read again.

  1. A. QPRS
  2. B. PQRS
  3. C. PRQS
  4. D. PQSR

Correct answer: B. PQRS

P raises the problem of a full cache, Q gives the simplest eviction rule, R says where it fails, and S explains the failure ('Scanned items' needs R's scan first). PQSR puts the explanation before the claim.

More Verbal Ability for Placements questions

Exams that ask this topic