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

Example of implicit differentiation, Example of Implicit differentiation ...

Example of Implicit differentiation So, now it's time to do our first problem where implicit differentiation is required, unlike the first example where we could actually avoid

Determine the function f ( x ) , Determine the function f ( x ) .       ...

Determine the function f ( x ) .             f ′ ( x )= 4x 3 - 9 + 2 sin x + 7e x , f (0) = 15 Solution The first step is to integrate to fine out the most general pos

How long will it take him to plow 21 acres, Mr. Brown plowed 6 acres in 1 h...

Mr. Brown plowed 6 acres in 1 hour. At this rate, how long will it take him to plow 21 acres? Mr. Brown plows 6 acres an hour, so divide the number of acres (21) through 6 to f

Invariant lines under transformation, What lines are invariant under the tr...

What lines are invariant under the transformation [(103)(01-4)(001)]? I do not know where to even begin to solve this. Please help!!

Evolve a game to help children remember basic multiplication, Evolve a game...

Evolve a game to help children remember basic multiplication facts. In this section we have looked at ways of helping children absorb some simple multiplication facts. But what

Lengrange''s mean value theorem, real life applications of lengrange''s mea...

real life applications of lengrange''s mean value theorem

Find the polynomial g(x), On dividing the polynomial 4x 4 - 5x 3 - 39x 2 ...

On dividing the polynomial 4x 4 - 5x 3 - 39x 2 - 46x - 2 by the polynomial g(x) the quotient is x 2 - 3x - 5 and the remainder is -5x + 8.Find the polynomial g(x). (Ans:4 x 2 +

Least common denominator of rational expression, Perform the denoted operat...

Perform the denoted operation.                    (4/6x 2 )-(1/3x 5 )+(5/2x 3 ) Solution For this problem there are coefficients on each of term in the denominator thus

Quadrilateral, similarities between rectangle & parallelogram

similarities between rectangle & parallelogram

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