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

Absolute value, Consider x € R. Then the magnitude of x is known as it's...

Consider x € R. Then the magnitude of x is known as it's absolute value and in general, shown by |x| and is explained as Since the symbol   always shows the nonnegative

Word Problem, a local pizza store offers medium two-topping pizzas delivere...

a local pizza store offers medium two-topping pizzas delivered for $6.00 per pizza plus a $1.50 delivery charge per order. on weekends, the store runs a game day special: if six or

Rate of change interpretation of derivative, Rate of Change : The first in...

Rate of Change : The first interpretation of derivative is rate of change.  It was not the primary problem which we looked at in the limit chapter, however it is the most signific

Characteristic, mention the characteristic of mathematic

mention the characteristic of mathematic

Fiancial project, With your current loan, explain how much additional money...

With your current loan, explain how much additional money you would need to add to your monthly payment to pay off your loan in 20 years instead of 25. Decide whether or not it wou

Determine equation of tangent line, Determine equation of the tangent line ...

Determine equation of the tangent line to f (x) = 4x - 8 √x  at x = 16 . Solution : We already know that the equation of a tangent line is specified by,

An example of build upon the child''s background, What are the other differ...

What are the other differences between learners that a teacher needs to keep in mind, while teaching?  Let us see an example in which a teacher took the pupil's background into acc

Addition rule - probability rule, The Addition Rule: Mutually Exclusive Eve...

The Addition Rule: Mutually Exclusive Events P(A or B or C) = P(A) + P(B) + P(C) This can be represented by the Venn diagram as follows:

MAT201, #There is a balance of $1,234 and this person receive a refund chec...

#There is a balance of $1,234 and this person receive a refund check in the amount of $25 with her paycheck that was deposited into her account for $1500 which made her balance $27

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