A certain computer programming language allows names of variables to consist of two characters, the first being any letter and the second any letter or digit. How many names of variables are possible?
Added by Jared J.
Step 1
For the second character, there are 26 possible letters (A-Z) and 10 possible digits (0-9). So, there are 26 + 10 = 36 possible characters for the second position. Show more…
Show all steps
Your feedback will help us improve your experience
Supreeta N and 93 other Geometry educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Variable Names A common computer programming rule is that names of variables must be between 1 and 8 characters long. The first character can be any of the 26 letters, while successive characters an be any of the 26 letters or any of the 10 digits. For example, allowable variable names are $A, B B B$, and $M 3477 K$. How many different variable names are possible?
Probability
Counting
Variables in BASIC $^{10}$ A variable name in the programming language BASIC can be either a letter or a letter followed by a decimal digit- that is, one of the numbers $0,1, \ldots, 9$, How many different variables are possible?
Sets and Counting
The Addition and Multiplication Principles
A common computer programming rule is that names of variables must be between one and eight characters long. The first character can be any of the 26 letters, while successive characters can be any of the 26 letters or any of the 10 digits. For example, allowable variable names include A, BBB, and M3477K. How many different variable names are possible? (Ignore the difference between uppercase and lowercase letters.)
Narayan H.
Recommended Textbooks
Geometry A Common Core Curriculum
Geometry
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD