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

Circle, a wheel revolves 360 deegre revolution in one minute .Find how many...

a wheel revolves 360 deegre revolution in one minute .Find how many radians will the wheel subtend in one second

Integration, how to learn integration?easier

how to learn integration?easier

Geometry, P and Q are the points (12,0) and (0,-5) respectively,find the le...

P and Q are the points (12,0) and (0,-5) respectively,find the length of the median through the origin O of the triangle OPQ

Three person problem of points, Three-person Problem of Points: Pascal, Fer...

Three-person Problem of Points: Pascal, Fermat and their old friend the Chevalier de Mere each put $10.00 into a pot, and agree to play a game that has rounds. Each player has the

Round 14.851 to the nearest tenth, Round 14.851 to the nearest tenth? T...

Round 14.851 to the nearest tenth? The tenths place is the ?rst number to the right of the decimal. Here the number 8 is in the tenths place. To decide whether to round up or

Compute projection scale factor, 1. A survey line on campus is measured to ...

1. A survey line on campus is measured to be 1000.00 ft long on horizontal ground. The elevation of the line is 700.00 feet and the geoid separation from ellipsoid to geoid is -110

Right angle triangle, If the points for a right angle triangle are XYZ wher...

If the points for a right angle triangle are XYZ where do I mark the points?

Randy, write in factor form 9x3+9x5

write in factor form 9x3+9x5

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