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

Circumference of a circle, How far will a bowling ball goes in one rotation...

How far will a bowling ball goes in one rotation if the ball has a diameter of 10 inches? (π = 3.14) 1. 78.5 in 2. 31.4 in 3. 62.8 in 4. 15.7 in 2. The circumfere

Calculate probability, The following table contains some information about...

The following table contains some information about the model used. Assume the probabilities given by the model are those of being a good writer. Variable

Use newtons method to find out an approximation, Use Newton's Method to fin...

Use Newton's Method to find out an approximation to the solution to cos x = x which lies in the interval [0,2].  Determine the approximation to six decimal places. Solution

Taylor series, If f(x) is an infinitely differentiable function so the Tayl...

If f(x) is an infinitely differentiable function so the Taylor Series of f(x) about x=x 0 is, Recall that, f (0) (x) = f(x) f (n) (x) = nth derivative of f(x)

What is a system of equations?, What is a System of Equations? And its Solu...

What is a System of Equations? And its Solution? Here is an example of a system of equations (also called a simultaneous system of equations) x 2 + y = 3

Permutations and combinations, number of ways that a mixed doubles tennis g...

number of ways that a mixed doubles tennis game can be arranged from 7 couples if no husband and wife play in the same game is??

Infinite limits, Infinite Limits : In this section we will see limits who...

Infinite Limits : In this section we will see limits whose value is infinity or minus infinity.  The primary thing we have to probably do here is to define just what we mean w

Statistics, explain the characteristics of statistics

explain the characteristics of statistics

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