Determine how many valid fortran identifiers, Mathematics

Assignment Help:

A valid identifier in the programming language FORTAN contains a string of one to six alphanumeric characters (the 36 characters A, B,...., Z, 0, 1,...9) starting with a letter. Determine how many valid FORTRAN identifiers are there?

Ans: There are 26 letters and 10 digits a total of 36 characters. It is restricted that an identifier can be of 1 to 6 characters long only, and first character must be a letter. Thus, Total number of identifiers of length 1 = 26

Total number of identifier of length 2 = 26*36

Total number of identifier of length 3 = 26*362

Total number of identifier of length 4 = 26*363

Total number of identifier of length 5 = 26*364

Total number of identifier of length 6 = 26*365

Thus number of valid identifiers = 26*[1 + 36 + 362 + 363 + 364 + 365] = 1617038306.


Related Discussions:- Determine how many valid fortran identifiers

Maximin method -decision making under uncertainty, Decision making under un...

Decision making under uncertainty Various methods are used to make decision in circumstances whereas only the pay offs are identified and the likelihood of every state of natur

Illustration of rank correlation coefficient, Illustration of Rank Correlat...

Illustration of Rank Correlation Coefficient Sometimes numerical data such refers to the quantifiable variables may be described after which a rank correlation coefficient may

Recognizes the absolute extrema & relative extrema, Recognizes the absolute...

Recognizes the absolute extrema & relative extrema for the following function.                           f ( x ) = x 2       on [-1, 2] Solution:  As this function is simpl

Combined mean and standard deviation -illustration, Combined mean Assu...

Combined mean Assume m be the combined mean Assume x 1 be the mean of first sample Assume x 2 be the mean of the second sample Assume n 1 be the size of the 1 st

How much will she owe the fabulous fence company, Kelly plans to fence in h...

Kelly plans to fence in her yard. The Fabulous Fence Company charges $3.25 per foot of fencing and $15.75 an hour for labor. If Kelly requires 350 feet of fencing and the installer

Differntial equation, (3x+2)^2 d^2y/dx^2+3(3x+2)dy/dx-36y=3x^2+4x+1

(3x+2)^2 d^2y/dx^2+3(3x+2)dy/dx-36y=3x^2+4x+1

Compound interest, you have RM5O,OOO to invest,and two fund that you''d li...

you have RM5O,OOO to invest,and two fund that you''d like to invest in.The You-Risk-It Fund yields 14% interest.The Extra-Dull Fund yields 6% interest.Besause of college financial-

Sequencing model, theory about solving sequencing problem using graphical m...

theory about solving sequencing problem using graphical method

Find the value of the first instalment, A man arranges to pay a debt of Rs....

A man arranges to pay a debt of Rs.3600 in 40 monthly instalments which are in a AP. When 30 instalments are paid he dies leaving one third of the debt unpaid. Find the value of th

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd