Inspection Tags

← Back to Flow Traders Interview Questions

Question

Seven small sculptures arrive at a gallery in a sealed crate. Exactly two bear an inspection tag, and every ordering of the seven sculptures is equally likely. A curator checks them in order and stops immediately when the first tagged sculpture appears. Each sculpture inspected, including the tagged one that ends the search, incurs a $3 handling cost. Each untagged sculpture inspected also incurs $5 for cleaning; tagged sculptures are never cleaned.

What is the expected total handling-and-cleaning cost? Give a derivation that accounts for drawing without replacement and for the cost of the final tagged sculpture.

Hint 1

If T is the position of the first tag, there are T handling charges but only \(T-1\) cleaning charges.

Write \(E[T]=\sum_{j}P(T\ge j)\). The event \(T\ge j\) means all of the first \(j-1\) inspected sculptures are untagged; sample without replacement.

Check your answer

© 2026 EverythingQuant. All Rights Reserved.