Final answer:
Tien can make 120 different codes.
Step-by-step explanation:
To calculate the number of different codes that can be made using the letters M, N, P, Q, and R, we need to use a concept called permutations. A permutation is an arrangement of objects in a specific order.
In this case, we need to find the number of different 5-letter codes that can be made using the 5 available letters without repetition. This is represented by a permutation of 5 objects taken 5 at a time.
The formula to calculate the number of permutations is n!, where n is the number of objects. So, for this problem, the number of different codes is 5!
5! = 5 × 4 × 3 × 2 × 1 = 120