Placement AptitudeHardCAT · TCS NQT Advanced

How many integers from 1 to 10000 are perfect squares or perfect cubes?

  1. A. 121
  2. B. 100
  3. C. 117
  4. D. 125

Correct answer: C. 117

Squares: 100 (1² to 100²). Cubes: 21 (1³ to 21³ = 9261). Both are sixth powers: 1, 64, 729, 4096 (4). So 100 + 21 − 4 = 117. Forgetting the overlap gives 121.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic