📞 0339-0387701 (WhatsApp) Contact

« Back to Data Science & AI (NCCIA)

A lock code consists of 4 symbols, each chosen from 5 symbols, with repetition allowed. How many different codes are possible?

A. 120
B. 5
C. 20
D. 625 ✅

Correct Answer: D. 625

Explanation

With repetition allowed, each of the 4 positions has 5 independent choices, so the total is 5^4 = 625. This is a permutation with repetition, not 5P4 or 5C4.