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

Expect mean, Your factory has a machine for drilling holes in a sheet metal...

Your factory has a machine for drilling holes in a sheet metal part.  The mean diameter of the hole is 10mm with a standard deviation of 0.1mm. What is the probability that any

Poisson mathematical properties, Poisson Mathematical Properties 1. Th...

Poisson Mathematical Properties 1. The expected or mean value = np = λ Whereas; n = Sample Size p = Probability of success 2. The variance = np = ? 3. Standard dev

Calculate the gross pay, 1. Simon's monthly take home pay (after taxes) is ...

1. Simon's monthly take home pay (after taxes) is $2200, if he pays 19%  of his gross pay(before taxex) in tax, what is his gross pay? 2 . Convert the following quantities to th

If the area of the parallelogram is 36 m2 what is the height, The height of...

The height of a parallelogram measures 5 meters more than its base. If the area of the parallelogram is 36 m 2 , what is the height in meters? Let x = the measure of the base a

Lori, rewrite the problem so that the divisor is a whole number...8.5/2.3

rewrite the problem so that the divisor is a whole number...8.5/2.3

Geometry, RS=8y+4 ST=4y+8 RT=15y-9 a.) WHAT IS THE VALUE OF y b.) FIND RS...

RS=8y+4 ST=4y+8 RT=15y-9 a.) WHAT IS THE VALUE OF y b.) FIND RS, ST, AND RT

Power series - sequences and series, Power Series We have spent quite...

Power Series We have spent quite a bit of time talking about series now and along with just only a couple of exceptions we've spent most of that time talking about how to fin

How much did he have in savings at the starting, Bill spent 50% of his savi...

Bill spent 50% of his savings on school supplies, and then he spent 50% of what was left on lunch. If he had $6 left after lunch, how much did he have in savings at the starting?

Trigonometry, If a+b+c = 3a , then cotB/2 cotC/2 is equal to

If a+b+c = 3a , then cotB/2 cotC/2 is equal to

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