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

Word problems, A baseball card was worth $5.00 in 1940. It doubled in value...

A baseball card was worth $5.00 in 1940. It doubled in value every decade. How much was it worth in 2000?

Proportions, bananas are on sale for 3 pounds for $2. At that price how man...

bananas are on sale for 3 pounds for $2. At that price how many pounds can you buy for $22

Systems of equations revisited, Systems of Equations Revisited We requ...

Systems of Equations Revisited We require doing a quick revisit of systems of equations. Let's establish with a general system of equations. a 11 x 1 + a 12 x 2 +......

Interpretations of definite integral, Interpretations of Definite Integral ...

Interpretations of Definite Integral There are some quick interpretations of the definite integral which we can give here. Firstly, one possible interpretation of the defini

More volume problems, More Volume Problems : Under this section we are de...

More Volume Problems : Under this section we are decide to take a look at several more volume problems. Though, the problems we see now will not be solids of revolution while we

Full asymptotic expansion , Consider the integral where the notatio...

Consider the integral where the notation means a contour that is parallel to the real z axis, but moved down by a distance d . Use the method of steepest descents to deri

Trigonometry, how to work out consumer arithmetic?

how to work out consumer arithmetic?

Multiplication of two complex numbers, Multiply the given below and write t...

Multiply the given below and write the answer in standard form. (2 - √-100 )(1 + √-36 ) Solution If we have to multiply this out in its present form we would get,  (2 -

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