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

Find the value of x of an arithmetic progressions, Find the value of x if 2...

Find the value of x if 2x + 1, x 2 + x +1, 3 x 2 - 3 x +3 are consecutive terms of an AP. Ans:  a 2 -a 1 =  a 3 -a 2 ⇒   x 2 + x + 1-2 x - 1 = 3x 2 - 3x + 3- x

Illustration of integration by parts - integration technique, Example of In...

Example of Integration by Parts - Integration techniques Some problems could need us to do integration by parts many times and there is a short hand technique that will permit

Geometry, calculate the area of a trapezoid with height 8cm base 18cm and 9...

calculate the area of a trapezoid with height 8cm base 18cm and 9cm

Properties of triangle, In triangle ABC if angle B = 90 degrees what is the...

In triangle ABC if angle B = 90 degrees what is the value Tan A/2 in terms of its sided? Solution) tanA=c/b let tan(A/2)=x 2x/(1-x 2 )=c/b,solve for x

Product moment coefficient (r), Product Moment Coefficient (r) ...

Product Moment Coefficient (r) This gives an indication of the strength of the linear relationship among two variables.                                     N

Find the number of students in the class, Students are made to stand in row...

Students are made to stand in rows. If one student is extra in a row there would be 2 rows less. If one student is less in a row there would be 3 rows more. Find the number of stud

Question, What is a marketing plan

What is a marketing plan

Modi method, why modi method is used in operation research

why modi method is used in operation research

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 +

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