Given:
first 10 letters of the English alphabet. In 4 letter code for first position there are 10 possibilities for second position there are 9 possibilities, for third position there are 8 possibilities and for fourth position there are 7 possibilities since repetition is not allowed.
So total numbers of combination=10 × 9 × 8 × 7 = 5040