How many distinct 4-digit codes can be formed using the digits 0 through 9 if repetition of digits is strictly prohibited and the first digit cannot be 0?

Answer and explanation

Correct answer: D. 4,536

  1. Step 1: Apply the Fundamental Counting Principle across the 4 position slots:
  2. Step 2: Slot 1 (thousands place): Cannot be 0, so choices are {1, 2, ..., 9} = 9 options.
  3. Step 3: Slot 2 (hundreds place): Any digit from 0 to 9 except the one chosen for slot 1 = 9 options (since 0 is now allowed).
  4. Step 4: Slot 3 (tens place): Any remaining digit from the 8 unselected digits = 8 options.
  5. Step 5: Slot 4 (units place): Any remaining digit from the 7 unselected digits = 7 options.
  6. Step 6: Total codes = 9 9 8 * 7 = 4,536.
Answer
4,536.
Why not the others: '5,040' is 10 9 8 7 (allowing 0 as first digit); '3,024' is 9 8 7 6 (forgetting that 0 becomes available after slot 1); '9,000' is 9 10 10 * 10 (with repetition allowed).

Practise more Geometry, Trigonometry, and Quantitative Problem Solving.

Free questions with an explanation for every one, and full timed Kuwait University Aptitude Tests (KUAT) mock tests.

How many distinct… | Kuwait University Aptitude Tests (KUAT)