Placement AptitudeHardTCS NQT · Wipro

A number is chosen at random from 1 to 1000. What is the probability that it is a multiple of 3 or ends in the digit 3?

  1. A. 433/1000
  2. B. 399/1000
  3. C. 2/5
  4. D. 73/200

Correct answer: B. 399/1000

Multiples of 3: 333. Ending in 3: 100. Both: 10k + 3 is divisible by 3 exactly when k is, k = 0, 3, …, 99, i.e. 34 numbers. 333 + 100 − 34 = 399. 433/1000 ignores the overlap; 2/5 uses an overlap of 33; 73/200 removes the overlap twice ('exactly one').

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic