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

Ratio test - sequences and series, Ratio Test In this part we are goin...

Ratio Test In this part we are going to take a look at a test that we can make use to see if a series is absolutely convergent or not.  Remind that if a series is absolutely c

Houses having the floor , Suppose you are in the market for a new home and ...

Suppose you are in the market for a new home and are interested in a new housing community under construction in a another city. a) The sales representative informs you that the

Design a game strategy involves process of learning maths, Doing these sums...

Doing these sums initially in this way helps children see why they carry over numbers to the next column. You may like to devise some related activities now. , EI) Give activ

How organize data by circle graphs, Q. How organize data by Circle Graphs? ...

Q. How organize data by Circle Graphs? Ans. Circle graphs, or pie charts, are another way of organizing data sets into an easy-to-read format. They make it very easy to c

Complex numbers, A number of the form x + iy, where x and y are real and na...

A number of the form x + iy, where x and y are real and natural numbers and is called as a complex number. It is normally given by z. i.e. z = x + iy, x is called as the real part

Sequence and series, Find the sum og series 1+(1+3)+(1+3+5)+.......+(1+3+.....

Find the sum og series 1+(1+3)+(1+3+5)+.......+(1+3+...+15+17)=

Measures of dispersion- measures of central tendency, Measures of Dispersio...

Measures of Dispersion - The measures of dispersion are extremely useful in statistical work since they indicate whether the rest of the data are scattered away from the mean

Proof of root test - sequences and series, Proof of Root Test  Firstly...

Proof of Root Test  Firstly note that we can suppose without loss of generality that the series will initiate at n = 1 as we've done for all our series test proofs.  As well n

Differentiation of a formula with two variables, I would like to calculate ...

I would like to calculate the high point of a mathematical formula with two unknown variables. At the same time I made the 1st derivation of the function. How can I best program 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