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

Determine the inverse function f ( x ), Given f ( x ) = 3x - 2 determine ...

Given f ( x ) = 3x - 2 determine     f -1 ( x ) . Solution Now, already we know what the inverse to this function is as already we've done some work with it.  Though, it

What is her commission if she sells a $359, A real estate agent makes a 1.5...

A real estate agent makes a 1.5% commission on her sales. What is her commission if she sells a $359,000 house? Multiply $359,000 by the decimal equivalent of 1.5% (0.015) to ?

Characteristic, mention the characteristic of mathematic

mention the characteristic of mathematic

Impediments in time series analysis, Impediments in time series analysis ...

Impediments in time series analysis Accuracy of data in reflecting a) Drastic changes for illustration in the advent of a major competitor, period of war or unexpected chan

Non linear relationships, Non Linear Relationships If the correlation ...

Non Linear Relationships If the correlation coefficient and the scatter diagram do not indicate linear relationship, then the relationship may be nonlinear. Two such relations

Devision, how many times can u put 10000 into 999999

how many times can u put 10000 into 999999

Three set problems, In a class,there are 174 students in form three,86 stud...

In a class,there are 174 students in form three,86 students play table tennis,84 play football and 94 play volleyball,30 play table tennis and volleyball,34 play volleyball and foo

Find the greatest number of 6 digits exactly divisible by 24, Find the grea...

Find the greatest number of 6 digits exactly divisible by 24, 15 and 36. (Ans:999720) Ans: LCM of 24, 15, 36 LCM = 3 × 2 × 2 × 2 × 3 × 5 = 360 Now, the greatest six digit

Finds out the center and radius of circle, Finds out the center & radius of...

Finds out the center & radius of each of the following circles & sketch the graph of the circle. a) x 2 + y 2 = 1 b) x 2 + ( y - 3) 2  = 4 Solution In all of these

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