Placement AptitudeVery hardTCS NQT · Infosys · Capgemini pattern

How many integers from 1 to 500 are divisible by 3 or by 5 but NOT by both?

  1. A. 200
  2. B. 233
  3. C. 166
  4. D. 266

Correct answer: A. 200

Multiples of 3: 166, of 5: 100, of 15: 33. Exactly one of 3 and 5: 166 + 100 - 2 x 33 = 200. 233 is the count for 3 or 5 including both.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic