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

5, what is a variable

what is a variable

Example of the invisible effort, Imagine a time in history when the number ...

Imagine a time in history when the number system had not yet evolved a farmer needed to keep track of his cattle. What would he do to figure out whether his entire rattle returned

Partial differential equations, I need expert who can solve 10 set of PDE w...

I need expert who can solve 10 set of PDE with constant of integration.

Definition of relation, Definition of Relation A relation is a set of o...

Definition of Relation A relation is a set of ordered pairs. It seems like an odd definition however we'll require it for the definition of a function though, before actuall

Theorem of continuous functions, Consider the subsequent IVP. y' = f(t,y...

Consider the subsequent IVP. y' = f(t,y) ,        y(t 0 ) = y 0 If f(t,y) and ∂f/∂y are continuous functions in several rectangle a o - h o + h which is included in a

Estimate the total cost of the books, Frederick bought six books which cost...

Frederick bought six books which cost d dollars each. What is the total cost of the books? Frederick would multiply the number of books, 6, through how much each one costs, d.

Binormal vector - three dimensional space, Binormal Vector - Three Dimensio...

Binormal Vector - Three Dimensional Space Next, is the binormal vector.  The binormal vector is illustrated to be, B → (t) = T → (t) * N → (t) Since the binormal vecto

Allied mathematics, The tenth term in the binomial expansion of (1-1/4)(1-1...

The tenth term in the binomial expansion of (1-1/4)(1-1/5)(1-1/6)...(1-1/n+3) is equal to

Calculate the height of the tunnel and the perimeter, The adjoining figure...

The adjoining figure shows the cross-section of a railway tunnel. The radius of the tunnel is 3.5m (i.e., OA=3.5m) and ∠AOB=90 o . Calculate : i.       the height of the

Tower of hanoi, how to create an activity of tower of hanoi

how to create an activity of tower of hanoi

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