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

Prove that ac2 = ap2 + 2(1+2)bp2, ABC is a right-angled isosceles triangle,...

ABC is a right-angled isosceles triangle, right-angled at B. AP, the bisector of ∠BAC, intersects BC at P. Prove that AC 2 = AP 2 + 2(1+√2)BP 2 Ans:    AC = √2AB (Sinc

DETERMINANT, IF 7 AND 2 ARE TWO ROOTS OF THE EQUATION |X 3 7 2 X 2 7 6 X...

IF 7 AND 2 ARE TWO ROOTS OF THE EQUATION |X 3 7 2 X 2 7 6 X |=0 THEN FIND THE THIRD ROOT IS

Properties of dot product - proof, Properties of Dot Product - proof P...

Properties of Dot Product - proof Proof of: If v → • v → = 0 then v → = 0 → This is a pretty simple proof.  Let us start with v → = (v1 , v2 ,.... , vn) a

Differential calculus finding limits, how can i evaluate this lim of x as x...

how can i evaluate this lim of x as x approaches to a

Calculus, need someone to log into my hawkes and complete homework due

need someone to log into my hawkes and complete homework due

Examples of solve quadratic equations by factorization, Provide me some Exa...

Provide me some Examples of solve quadratic equations by Factorization

Shares and dividend, what all can be the table contents for my maths projec...

what all can be the table contents for my maths project on shares and dividend

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