How many words can be made from the word “APPLE” using all the alphabets with repetition and without repetition respectively?
(A) 1024, 60
(B) 60, 1024
(C) 1024, 1024
(D) 240, 1024
Explanation: The word “APPLE” has 5 letters in which “P” comes twice.
If repetition is allowed, the number of words we can form = 4*4*4*4*4 = 1024.
(This is because, when repetition is allowed, we can put any of the four unique alphabets at each of the five positions.)
If repetition is not allowed, the number of words we can form = 5!/2! = 60. (This is because “P” comes twice.)
Quiz of this Question
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.