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

How much can they deduct from childcare expenses, A family may deduct 24% o...

A family may deduct 24% of their childcare expenses from their income tax owed. If a family had $1,345 in childcare expenses, how much can they deduct? Find out 24% of $1,345 b

How to add mixed numbers, Q. How to Add Mixed Numbers? Ans. If you...

Q. How to Add Mixed Numbers? Ans. If you have to add mixed numbers, you might try this method first: First rewrite the mixed number as a whole number plus a fracti

Illustration of simpson rule, By using n = 4 and all three rules to approxi...

By using n = 4 and all three rules to approximate the value of the following integral. Solution Very firstly, for reference purposes, Maple provides the following valu

Surface area- applications of integrals, Surface Area- Applications of inte...

Surface Area- Applications of integrals In this part we are going to look again at solids of revolution. We very firstly looked at them back in Calculus I while we found the

Systems of differential equations, For this point we've only looked as solv...

For this point we've only looked as solving particular differential equations. Though, many "real life" situations are governed through a system of differential equations. See the

Solve the subsequent proportion, Solve the subsequent proportion: Exa...

Solve the subsequent proportion: Example: Solve the subsequent proportion for x. Solution: 5:x = 4:15 The product of the extremes is (5)(15) = 75. The produ

Probability, If a school has lockers with 50 numbers on each co...

If a school has lockers with 50 numbers on each combination lock, how many possible combinations using three numbers are there.

Arithmetic mean, When three quantities are in A.P., then the middle...

When three quantities are in A.P., then the middle one is said to be the arithmetic  mean of the other two. That is, if a, b and c are in A.P., then b is th

Proof by Condratiction, "Prove by contradiction that no root of the equatio...

"Prove by contradiction that no root of the equation x^18 -2x^13 + x^5 -3x^3 + x - 2 = 0 is an integer divisible by 3" Any help would be very much appreciated!

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