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

Algebra, please tell me what is algebra and how i can understand it

please tell me what is algebra and how i can understand it

Earth geometry, calculate the shortest distance between A and B 40degrees w...

calculate the shortest distance between A and B 40degrees west and 50 degrees east respectively laying along 57 degrees north

Geometry, how do you find the length of a parallel line connecting two exte...

how do you find the length of a parallel line connecting two external circles of different sizes from the outside, given the value of both radius and one parallel line.

Answer, #questi0+50x1-60-60x0+10on..

#questi0+50x1-60-60x0+10on..

Quan. literacyprofiency, 3.20 euros per kilogram, 1 kilogram =2.2 pounds an...

3.20 euros per kilogram, 1 kilogram =2.2 pounds and current exchange rate is $1=0.9 euros. what is the price per pound?

The index of industrial production, The index of industrial production ...

The index of industrial production This is a quantity index compiled by the government. This measures changes in the volume of production in main industries. The index is a ex

Determine the relation is partially ordered, Determine if the relation repr...

Determine if the relation represented by the following Boolean matrix is partially ordered. Ans: Let the following relation R is defined on set A = {x, y, z}. To test if t

Find an example of congruential unit random number generator, 1. Suppose th...

1. Suppose the arrival times of phone calls in a help centre follow a Poisson process with rate 20 per hour (so the inter-arrival times are independent exponential random variables

Solve 3 + 2 ln ( x /7+3 ) = -4 logarithm, Solve 3 + 2 ln ( x /7+3 ) = -4 . ...

Solve 3 + 2 ln ( x /7+3 ) = -4 . Solution This initial step in this problem is to get the logarithm by itself on one side of the equation  along with a coefficient of 1.

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