Answer: 286
Step-by-step explanation
We have 2 cases which are:
- We have a single uppercase letter and nothing else.
- An uppercase letter followed by a digit.
Let's explore each case separately.
- There are 26 letters in the English alphabet, so we have 26 choices here for case 1.
- There are 26 letters and 10 single digits in the set {0,1,2,3,4,5,6,7,8,9}. That gives 26*10 = 260 different possibilities for case 2.
Combine the results of each case. We get 26+260 = 286 different variable names possible.