Answer
425.1k+ views
Hint: The formula for determining the number of possible arrangements by selecting only a few objects from a set with no repetition is expressed in the following way:
\[{}^n{C_r} = \dfrac{{n!}}{{r!(n - r)!}}\]
\[N = \]the total number of elements in a set
\[K = \] The number of selected objects (the order of the objects is not important)
\[! = factorial\]
Complete step by step solution:
The variable name consists only of a letter, then that letter can be chosen in 26 ways from the alphabets.
If the code is created using a letter followed by a digit, then code can be created in
\[{}^{26}{C_1} \times {}^{10}{C_1}\]
These two events are independent
Now,
Above combination can be done in only one way.
\[1! = 1\]
\[ \Rightarrow \dfrac{{26!}}{{1!(26 - 1)!}} \times \dfrac{{10!}}{{1!(10 - 1)!}} \times 1\] \[\left[ {{}^n{C_r} = \dfrac{{n!}}{{r!(n - r)!}}} \right]\]
\[ \Rightarrow \dfrac{{26.25!}}{{25!}} \times \dfrac{{10.9!}}{{9!}}\] \[\left[ \begin{gathered}
n = 26 \\
r = 1 \\
\end{gathered} \right]\]
\[ \Rightarrow 26 \times 10\]
\[ \Rightarrow 260\]
Hence
Total number of different variable names that can exist in that language is
\[ = 26 + 260\]
\[ = 286\]
Note:
\[10! = 1 \times 2 \times 3 \times 4 \times 5 \times 6 \times 7 \times 8 \times 9 \times 10\]
So, it can be writing as
\[10! = 9!\, \times 10\]
1)(Remember)\[1! = 1\]
2) In the above question, it is fixed followed by a decimal digit, So the rotation can be done by only 1 way.
\[{}^n{C_r} = \dfrac{{n!}}{{r!(n - r)!}}\]
\[N = \]the total number of elements in a set
\[K = \] The number of selected objects (the order of the objects is not important)
\[! = factorial\]
Complete step by step solution:
The variable name consists only of a letter, then that letter can be chosen in 26 ways from the alphabets.
If the code is created using a letter followed by a digit, then code can be created in
\[{}^{26}{C_1} \times {}^{10}{C_1}\]
These two events are independent
Now,
Above combination can be done in only one way.
\[1! = 1\]
\[ \Rightarrow \dfrac{{26!}}{{1!(26 - 1)!}} \times \dfrac{{10!}}{{1!(10 - 1)!}} \times 1\] \[\left[ {{}^n{C_r} = \dfrac{{n!}}{{r!(n - r)!}}} \right]\]
\[ \Rightarrow \dfrac{{26.25!}}{{25!}} \times \dfrac{{10.9!}}{{9!}}\] \[\left[ \begin{gathered}
n = 26 \\
r = 1 \\
\end{gathered} \right]\]
\[ \Rightarrow 26 \times 10\]
\[ \Rightarrow 260\]
Hence
Total number of different variable names that can exist in that language is
\[ = 26 + 260\]
\[ = 286\]
Note:
\[10! = 1 \times 2 \times 3 \times 4 \times 5 \times 6 \times 7 \times 8 \times 9 \times 10\]
So, it can be writing as
\[10! = 9!\, \times 10\]
1)(Remember)\[1! = 1\]
2) In the above question, it is fixed followed by a decimal digit, So the rotation can be done by only 1 way.
Recently Updated Pages
How many sigma and pi bonds are present in HCequiv class 11 chemistry CBSE
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Why Are Noble Gases NonReactive class 11 chemistry CBSE
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Let X and Y be the sets of all positive divisors of class 11 maths CBSE
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Let x and y be 2 real numbers which satisfy the equations class 11 maths CBSE
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Let x 4log 2sqrt 9k 1 + 7 and y dfrac132log 2sqrt5 class 11 maths CBSE
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Let x22ax+b20 and x22bx+a20 be two equations Then the class 11 maths CBSE
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Trending doubts
Fill the blanks with the suitable prepositions 1 The class 9 english CBSE
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
At which age domestication of animals started A Neolithic class 11 social science CBSE
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Which are the Top 10 Largest Countries of the World?
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Give 10 examples for herbs , shrubs , climbers , creepers
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Difference between Prokaryotic cell and Eukaryotic class 11 biology CBSE
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Difference Between Plant Cell and Animal Cell
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Write a letter to the principal requesting him to grant class 10 english CBSE
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Change the following sentences into negative and interrogative class 10 english CBSE
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Fill in the blanks A 1 lakh ten thousand B 1 million class 9 maths CBSE
![arrow-right](/cdn/images/seo-templates/arrow-right.png)