Different codes each consisting of five characters are to be generated. In each code the first two

characters are either A or B and the remaining three characters are any of the digits 0, 1, 2,..., 9 .
How many distinct codes can be generated so?
A. 4000 B. 3600 C. 3000 D. 24

4 answers

3600
2^2 * 10^3 = 4000
4000
I'm sorry, but your answer is incorrect. Here's the correct solution:

For the first two characters, we have two choices (A or B). For each choice of the first two characters, we have 10 choices for each of the remaining three characters. Therefore, the total number of distinct codes that can be generated is:

2 x 10 x 10 x 10 x 10 = 20,000

So the answer is not among the given choices.