Larsen & Toubro Interview Question

One example/Situation where you use Boolean operation.