Placement AptitudeModerateTCS NQT · Accenture

A number is chosen at random from 1 to 100. What is the probability that it is a perfect square or a perfect cube?

  1. A. 7/50
  2. B. 3/25
  3. C. 1/10
  4. D. 13/100

Correct answer: B. 3/25

Squares: 10 (1 to 100). Cubes: 4 (1, 8, 27, 64). Both (sixth powers): 1 and 64. So 10 + 4 − 2 = 12, P = 12/100 = 3/25. 7/50 forgets to remove the overlap.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic