Placement AptitudeHardTCS NQT · Accenture
How many integers from 1 to 1000 (inclusive) are perfect squares or perfect cubes?
- A. 41
- B. 40
- C. 39
- D. 38
Correct answer: D. 38
Squares: 1² to 31² (31). Cubes: 1³ to 10³ (10). Both (sixth powers): 1, 64, 729 (3). Total 31 + 10 − 3 = 38.
Practise more Advanced Quantitative Ability (Placement) questionsAdvanced Quantitative Ability (Placement): notes and key points
More Advanced Quantitative Ability (Placement) questions
- What is the smallest positive number that leaves remainders 3, 4, 5 and 6 when divided by 5, 6, 7 and 8 respectively?
- A number N is divided by 4, leaving remainder 3. The quotient is divided by 5, leaving remainder 2, and that quotient is divided by 6…
- The smallest positive multiple of 45 that uses only the digits 0 and 1 has how many digits?
- How many integers from 1 to 100 have exactly three 1s in their binary representation?
- What is the unit digit of 2²⁰²⁶ + 3²⁰²⁶ + 7²⁰²⁶?
- A mother's age is twice the sum of the ages of her two children. After 20 years, her age will equal the sum of their ages. What is the…