Factorials and Trailing Zeros Questions with Answers

25 practice questions on Factorials and Trailing Zeros (Quantitative Aptitude) with answers and step-by-step solutions. Try 10 samples below, then practise all 25 free in the AptiNest app.

Sample questions

Question 1Easy

What is 7!?

  1. 720
  2. 35280
  3. 5040
  4. 5047

Answer: C. 5040

Explanation

7! = 7 × 6 × 5 × 4 × 3 × 2 × 1. = 5040.

Step-by-step solution

  1. 7! = 7 × 6 × 5 × 4 × 3 × 2 × 1.
  2. = 5040.

Why the other options are wrong

  • A. That is 6!.
  • B. That is 7! × 7.
  • D. Added instead of multiplying.

Question 2Easy

The value of 0! is

  1. 0
  2. 1
  3. undefined
  4. 10

Answer: B. 1

Explanation

n! counts arrangements of n objects. There is exactly one way to arrange nothing, so 0! = 1.

Step-by-step solution

  1. n! counts arrangements of n objects.
  2. There is exactly one way to arrange nothing, so 0! = 1.

Why the other options are wrong

  • A. Intuitive but wrong; the empty product is 1.
  • C. 0! is defined as 1.
  • D. Confused with a power of 10.

Question 3Easy

What is 6!?

  1. 120
  2. 720
  3. 4320
  4. 726

Answer: B. 720

Explanation

6! = 6 × 5 × 4 × 3 × 2 × 1. = 720.

Step-by-step solution

  1. 6! = 6 × 5 × 4 × 3 × 2 × 1.
  2. = 720.

Why the other options are wrong

  • A. That is 5!.
  • C. That is 6! × 6.
  • D. Added instead of multiplying.

Question 4Easy

Evaluate 0! + 1! + 2!.

  1. 4
  2. 3
  3. 2
  4. 5

Answer: A. 4

Explanation

0! = 1, 1! = 1, 2! = 2. Sum = 4.

Step-by-step solution

  1. 0! = 1, 1! = 1, 2! = 2.
  2. Sum = 4.

Why the other options are wrong

  • B. Took 0! = 0.
  • C. Took 0! = 0 and 1! = 0.
  • D. Took 0! = 2.

Question 5Medium

How many more trailing zeros does 100! have than 99!?

  1. 1
  2. 0
  3. 4
  4. 2

Answer: D. 2

Explanation

The extra factors of 5 add two more zeros. Check: 100! has 24 zeros, 99! has 22.

Step-by-step solution

  1. 100! = 100 × 99!, and 100 = 2² × 5².
  2. The extra factors of 5 add two more zeros.
  3. Check: 100! has 24 zeros, 99! has 22.

Why the other options are wrong

  • A. 100 contains two factors of 5, not one.
  • B. The extra factor 100 does add zeros.
  • C. Confused with ⌊100/25⌋.

Tip: Going from (n−1)! to n! adds as many zeros as n has factors of 5; count 5s in n, so 25 counts twice.

Question 6Medium

If (n + 2)!/n! = 56, then n equals

  1. 7
  2. 5
  3. 8
  4. 6

Answer: D. 6

Explanation

n² + 3n + 2 = 56 → n² + 3n − 54 = 0. (n + 9)(n − 6) = 0, so n = 6.

Step-by-step solution

  1. (n + 2)(n + 1) = 56.
  2. n² + 3n + 2 = 56 → n² + 3n − 54 = 0.
  3. (n + 9)(n − 6) = 0, so n = 6.

Why the other options are wrong

  • A. Check: 9 × 8 = 72, not 56.
  • B. Check: 7 × 6 = 42, not 56.
  • C. Check: 10 × 9 = 90.

Tip: Reduce (n+2)!/n! to (n+2)(n+1) first, then solve the quadratic or test consecutive integers whose product is the value.

Question 7Medium

The number of trailing zeros in 200! is

  1. 40
  2. 50
  3. 20
  4. 49

Answer: D. 49

Explanation

⌊200/5⌋ + ⌊200/25⌋ + … = 40 + 8 + 1. Total = 49.

Step-by-step solution

  1. Trailing zeros = number of factors of 5 (there are always enough 2s).
  2. ⌊200/5⌋ + ⌊200/25⌋ + … = 40 + 8 + 1.
  3. Total = 49.

Why the other options are wrong

  • A. Counted only multiples of 5 (or the wrong count) and missed higher powers of 5.
  • B. Counted only multiples of 5 (or the wrong count) and missed higher powers of 5.
  • C. Counted only multiples of 5 (or the wrong count) and missed higher powers of 5.

Tip: Trailing zeros of n! = ⌊n/5⌋ + ⌊n/25⌋ + ⌊n/125⌋ + …; add the quotients until a quotient is 0.

Question 8Medium

The smallest n for which 3⁴ divides n! is

  1. 9
  2. 6
  3. 12
  4. 4

Answer: A. 9

Explanation

n = 8 gives 2 + 0 = 2; n = 9 gives 3 + 1 = 4. So n = 9.

Step-by-step solution

  1. Factors of 3 in n!: ⌊n/3⌋ + ⌊n/9⌋ + …
  2. n = 8 gives 2 + 0 = 2; n = 9 gives 3 + 1 = 4.
  3. So n = 9.

Why the other options are wrong

  • B. 6! has only two factors of 3.
  • C. Larger than needed.
  • D. 4! has one factor of 3.

Tip: Factors of 3 in n! = ⌊n/3⌋ + ⌊n/9⌋ + …; the sum rises only at multiples of 3, so check those values of n.

Question 9Hard

The unit digit of 1! + 2! + 3! + 4! + 5! + … + 100! is

  1. 0
  2. 3
  3. 7
  4. 9

Answer: B. 3

Explanation

1 + 2 + 6 + 24 = 33. The unit digit is 3.

Step-by-step solution

  1. From 5! onwards each factorial ends in 0.
  2. 1 + 2 + 6 + 24 = 33.
  3. The unit digit is 3.

Why the other options are wrong

  • A. The first four terms still add to 33.
  • C. Slip in adding 1 + 2 + 6 + 24.
  • D. Slip in adding 1 + 2 + 6 + 24.

Tip: Factorials from 5! onwards end in 0, so the unit digit of the sum depends only on 1! to 4!.

Question 10Hard

The highest power of 2 that divides 100! is

  1. 50
  2. 98
  3. 96
  4. 97

Answer: D. 97

Explanation

Add ⌊100/2⌋ + ⌊100/4⌋ + … until the term is 0. The sum is 97.

Step-by-step solution

  1. Add ⌊100/2⌋ + ⌊100/4⌋ + … until the term is 0.
  2. The sum is 97.

Why the other options are wrong

  • A. Counted only ⌊100/2⌋ and ignored higher powers of 2.
  • B. Over-counted.
  • C. Under-counted.

Tip: Power of 2 in n!: add ⌊n/2⌋ + ⌊n/4⌋ + ⌊n/8⌋ + … until the terms reach 0. Don't stop after the first term.

Practise all 25 questions free

The full question bank with timed practice, progress tracking and Vidya, your AI tutor. Free, no ads.

Open this topic in the app →

Related topics

See all Quantitative Aptitude topics · All topics