<h3>
Answer: 625</h3>
Work Shown:
The set {A,B,C,1,2} has five items. There are four slots to fill.
So we have 5^4 = 5*5*5*5 = 625 different possible passwords where the characters can be repeated.
x*x=152
x2=152
Take square root.
x=±√152
x=√238
or
x=−√238
Answer: 40 / 5 = 8 There would be 8 guests sitting in a section that gets hats.