Placement AptitudeVery hardTCS NQT Advanced · Infosys SP

How many zeros are there at the end of the product of all the even numbers from 2 to 100 (2 × 4 × 6 × … × 100)?

  1. A. 24
  2. B. 10
  3. C. 12
  4. D. 11

Correct answer: C. 12

The product is 2⁵⁰ × 50!, so twos are plentiful and the zeros equal the fives in 50!: ⌊50/5⌋ + ⌊50/25⌋ = 12. 24 counts the fives in 100!.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic