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

Reduce the rational expression to lowest terms, Reduce the following ration...

Reduce the following rational expression to lowest terms.                                     x 2 - 2 x - 8/ x 2 - 9 x + 20 Solution When reducing a rational expressio

Algebra2;, log6 X + log6 (x-5) = 1

log6 X + log6 (x-5) = 1

Classify quadrilaterals, which quadrilaterals have only 1 pair of parallel ...

which quadrilaterals have only 1 pair of parallel sides

Sqares, Recently I had an insight regarding the difference between squares ...

Recently I had an insight regarding the difference between squares of sequential whole numbers and the sum of those two whole numbers. I quickly realized the following: x + (x+1)

Functions of several variables - three dimensional space, Functions of Seve...

Functions of Several Variables - Three Dimensional Space In this part we want to go over a few of the basic ideas about functions of much more than one variable. Very first

Variation of parameters, In this case we will require deriving a new formul...

In this case we will require deriving a new formula for variation of parameters for systems.  The derivation now will be much simpler than the when we first noticed variation of pa

Solve the limit problem, Solve the Limit problem as stated  Limit x tends...

Solve the Limit problem as stated  Limit x tends to 0 [tanx/x]^1/x^2 is ? lim m tends to infinity [cos (x/m)] ^m is? I need the procedure of solving these sums..

Standard interpretations to derivatives, Standard interpretations to deriva...

Standard interpretations to derivatives Example   Assume that the amount of money in a bank account is specified by                                       P (t ) = 500 + 10

Differential calculus finding limits, how can i evaluate this lim of x as x...

how can i evaluate this lim of x as x approaches to a

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