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

Weighted mean-progression, Weighted mean - It is the mean which employ...

Weighted mean - It is the mean which employs arbitrarily given weights - This is a useful measure especially whereas assessment is being done yet the situation prevailing a

Factors, write down all the factors of 36

write down all the factors of 36

Rules for inequalities, Here we look at only the rules without going ...

Here we look at only the rules without going into their proofs. They are: a  0. If a If a If a

How much sales tax did she pay if items was 6 percent, Lindsay purchased a ...

Lindsay purchased a pocketbook for $45 and a pair of shoes for $55. The sales tax on the items was 6%. How much sales tax did she pay? Find out the price of the two items toget

Find the equation of circle concentric – coordinate geometry, 1. A point P(...

1. A point P(a,b) becomes (3,c) after reflection in x - axis, and (d,6) after reflection in the origin. Show that a = 3, b = - 6, c = 6, d = 2 2. If the pair of lines ax² + 2pxy

Smith keeps track of poor work, Smith keeps track of poor work. Often on af...

Smith keeps track of poor work. Often on afternoon it is 5%. If he checks 300 of 7500 instruments what is probability he will find less than 20 substandard?

Evaluate the infinite limits of given limits, Evaluate following limits. ...

Evaluate following limits. Solution Therefore we will taking a look at a couple of one-sided limits in addition to the normal limit here. In all three cases notice

Assignment, how do mathematical ideas grow?

how do mathematical ideas grow?

The low temperature in Achorage, The low temperature in Anchorage, Alaska t...

The low temperature in Anchorage, Alaska today was negative four degrees. The low temperature in Los Angeles, California was sixty-three degreees. What is the difference in the two

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