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 value of the unknown side of a right triangle, Determine the ...

Determine the value of the unknown side of a right triangle: The two legs of a right triangle are 5 ft and 12 ft.  How long is the hypotenuse? Now Let the hypotenuse be c ft.

Calculus, I need help with my calculus work

I need help with my calculus work

How to multiply two fractions, Q. How to Multiply two Fractions? Multip...

Q. How to Multiply two Fractions? Multiplying fractions is really easy! The rule is: "multiply across"- You multiply the numerators, and you multiply the denominators.

Bricklayer estimates 6.5 how many bricks will he required, A bricklayer est...

A bricklayer estimates that he requires 6.5 bricks per square foot. He needs to lay a patio that will be 110 square feet. How many bricks will he required? Multiply 6.5 by 110;

Show that 3cos-4cos3 = 0, If sin? =  1/2 , show that 3cos?-4cos 3 ? = 0. ...

If sin? =  1/2 , show that 3cos?-4cos 3 ? = 0. Ans:    Sin ? = ½ ⇒ ? = 30 o Substituting in place of ? =30 o . We get 0.

Carrot juice, 1. His favorite current carrot drink contain 40%. but h eneed...

1. His favorite current carrot drink contain 40%. but h eneeds add to 80 quarts wife brought his perfect drink mix.

Example for comparison test for improper integrals, Example for Comparison ...

Example for Comparison Test for Improper Integrals Example:  Find out if the following integral is convergent or divergent. ∫ ∞ 2 (cos 2 x) / x 2 (dx) Solution

Math, what is quantity ?

what is quantity ?

SYSTEMS OF ODE, Problem 1 Let ~x0 = A~x and y 0 = B~y be two 2  2 linear s...

Problem 1 Let ~x0 = A~x and y 0 = B~y be two 2  2 linear systems of ODE. (1) Suppose that A and B have the same purely imaginary eigenvalues. Prove that these systems are topologi

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