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

Maths, what is the diameter of a circle

what is the diameter of a circle

Service marketing, assignment of marketing mix on healthservices

assignment of marketing mix on healthservices

Find solution manual, i need solution manual of "calculus and analytic geom...

i need solution manual of "calculus and analytic geometry thomas 6th edition book "

Do all our activities involve mathematics?, Do All Our Activities Involve M...

Do All Our Activities Involve Mathematics? :  The answer to this is 'yes' and 'no'. For those who look for mathematics and know where to look for it, it is 'yes'. For those who do

Find homeomorphisms - complex root, All numbers refer to exercises (and not...

All numbers refer to exercises (and not "computer exercises") in Gallian. §22: 8, 16, 22, 24, 28, 36. In addition: Problem 1: Let a be a complex root of the polynomial x 6 +

Differentiate product rule functions, Differentiate following functions. ...

Differentiate following functions. Solution At this point there in fact isn't a lot of cause to use the product rule.  We will utilize the product rule.  As we add

Dividing mixed numbers, Dividing Mixed Numbers Dividing mixed numbers i...

Dividing Mixed Numbers Dividing mixed numbers is a 3-step process: 1. Convert the mixed numbers to improper fractions. 2. Divide the fractions 3. Convert the result ba

Topology, Is usual topology on R is comparable to lower limit topology on R...

Is usual topology on R is comparable to lower limit topology on R

Concrete to abstract-how mathematical ideas grow, Concrete to Abstract :  ...

Concrete to Abstract :  Mathematics, like all human knowledge, grows out of our concrete experiences. Let us take the example of three-dimensional shapes. Think about how you came

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