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

Lengrange''s mean value theorem, real life applications of lengrange''s mea...

real life applications of lengrange''s mean value theorem

Compound interest, A juicer is available for 3500 cash but was sold under i...

A juicer is available for 3500 cash but was sold under installment plan where the purchaser agreed to pay 1500 cash down and 3 equal quarterly installments. If the dealer charges i

Maclaurin series - sequences and series, Maclaurin Series Before w...

Maclaurin Series Before working any illustrations of Taylor Series the first requirement is to address the assumption that a Taylor Series will in fact exist for a specifi

Solving whole-number riddles, I am greater than 30 and less than 40. The su...

I am greater than 30 and less than 40. The sum of my digits is less than 5. who am I?

Estimate the area between f ( x ) =x3 - 5x2 + 6 x + 5, Estimate the area be...

Estimate the area between f ( x ) =x 3 - 5x 2 + 6 x + 5 and the x-axis by using n = 5 subintervals & all three cases above for the heights of each of the rectangle. Solution

Statistics, A researcher is investigating the effectiveness of a new medica...

A researcher is investigating the effectiveness of a new medication for lowering blood pressure for individuals with systolic pressure greater than 140. For this population, systol

Find the average, The center of a national park is located at (0,0). A spec...

The center of a national park is located at (0,0). A special nature preserve is bounded by by straight lines connecting the points A at (3,2), B at (5,1), C at (8,4) and D at (6,5)

Calculate the area of the ade and compare it with abc, The vertices ...

The vertices of a ? ABC are A(4, 6), B(1. 5) and C(7, 2). A line is drawn to intersect sides AB and AC at D and E respectively, such that AD/AB = AE/AC = 1/4 .Calculate the  ar

Calculate the mean, Calculate the mean, variance & standard deviation of th...

Calculate the mean, variance & standard deviation of the number of heads in a simultaneous toss of three coins.     SOLUTION:    Let X denotes the number of heads in a simu

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