Probability, Statistics and Queueing

A 4-digit PIN is made by arranging four of the digits 0 to 9. If the same digit may be used any number of times and the first digit may be 0, which of the following is the number of possible PINs?

  1. A210
  2. B5,040
  3. C10,000
Show answer and explanation

Answer: C. 10,000

Each of the four positions can take any of the 10 digits 0 to 9, so the number of permutations with repetition is 10⁴ = 10,000. If the same digit could not be reused, there would be 10P4 = 10 × 9 × 8 × 7 = 5,040, and if in addition the order were ignored, 10C4 = 210. This number is also a measure of the effort of a brute-force attack that tries every PIN in turn.

  • A. This is the number of combinations 10C4, without repeated digits and without regard to order. In a PIN, the order of the digits matters.
  • B. This is the number of permutations without repeated digits, 10P4 = 10 × 9 × 8 × 7. The question allows the same digit to be used any number of times.
  • C. Correct. Each position has 10 choices, so 10⁴ = 10,000.
Practice this topic Back to topic

Related calculators

Books on Probability, Statistics and Queueing Ad

As an Amazon Associate I earn from qualifying purchases.

More Probability, Statistics and Queueing questions

  1. In a town whose streets form a square grid, you go from intersection A to intersection B, which is 4 blocks east and 3 blocks north of A, by a shortest route that moves only east or north. Which of the following is the number of routes?
  2. Of 200 chips inspected, 30 had defect X and 20 had defect Y, and 8 of these had both X and Y. Which of the following is the number of chips with neither defect?
  3. When a die is rolled 3 times, which of the following is closest to the probability that a 6 comes up at least once?
  4. Among 10 lottery tickets, 3 are winners. Two tickets are drawn one after the other, and a drawn ticket is not put back. Which of the following is the probability that both are winners?
  5. A fab processed 500 wafers in a month, 100 of them in chamber 2. A total of 40 wafers failed, and 15 of these had been processed in chamber 2. Which of the following is the conditional probability that a wafer processed in chamber 2 fails?