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

Graph of a function, Graph of a function Help me in understanding the ...

Graph of a function Help me in understanding the concept of graph of a function in linear algebra and matrices.

Hi, can i get job of teaching maths here

can i get job of teaching maths here

Algebra, what is the answers of exercise 3.1

what is the answers of exercise 3.1

Skewness-measure of central tendency, Skewness - It is a concept which...

Skewness - It is a concept which is normally used in statistical decision making. This refers to the degree whether a described frequency curve is deviating away from the gene

Multiplacation, write and solve a problem of multiplacation that uses: esti...

write and solve a problem of multiplacation that uses: estimate explaning numbers picturs and another operation?

Lesson 3.5 skills practice, Noah is renewing a magazine subscription. one p...

Noah is renewing a magazine subscription. one package offers to renew the magazine for 3 years for 26$. A second package offers to renew the magazine for 5 years for $38

Developing an understanding ones tens and more, DEVELOPING AN UNDERSTANDING...

DEVELOPING AN UNDERSTANDING :  The other day I was showing the children's book '203 Cats' to my 7-year-old niece. She had recently learnt how to write large numerals in her school

What is the area of the court in square feet, A racquetball court is 40 ft ...

A racquetball court is 40 ft through 20 ft. What is the area of the court in square feet? The area of a rectangle is length times width. Thus, the area of the racquetball court

Example of business applications, An apartment complex contains 250 apartme...

An apartment complex contains 250 apartments to rent.  If they rent x apartments then their monthly profit is specified by, in dollars,,                                      P ( x

Equation, Solve : 4x2+2x+3=0 Ans) x^2 + (1/2)x = -(3/4) (x+1/4)^2 = 1/...

Solve : 4x2+2x+3=0 Ans) x^2 + (1/2)x = -(3/4) (x+1/4)^2 = 1/16 - 3/4 = -11/16 implies x = (-1+i(11)^(1/2))/4 and its conjugate.

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