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

Permutations and combinations, How many arrangements can be made from the l...

How many arrangements can be made from the letters of the word " VENUS " such that the order of the vowels remains the same?

Triple integral transformed, An elliptical galaxy has gravitational boundar...

An elliptical galaxy has gravitational boundaries defiend by 9x 2 +16y 2 +144z 2 =144. A black hole at the center of the galaxy is interacting with dark matter producing a radiatio

Proof of sum-difference of two functions, Proof of Sum/Difference of Two Fu...

Proof of Sum/Difference of Two Functions : (f(x) + g(x))′  = f ′(x) +  g ′(x)  It is easy adequate to prove by using the definition of the derivative.  We will start wi

Quotient rule, Quotient Rule : If the two functions f(x) & g(x) are differ...

Quotient Rule : If the two functions f(x) & g(x) are differentiable (that means the derivative exist) then the quotient is differentiable and,

Modeling with first order differential equations, We here move to one of th...

We here move to one of the major applications of differential equations both into this class and in general. Modeling is the process of writing a differential equation to explain a

Describe multiplication and division equations, Describe Multiplication and...

Describe Multiplication and Division Equations? Multiplication Equations :  To solve multiplication equations, divide both sides of the equation by the number being multiplie

Equation of a straight line, In a two dimensional case, the form of t...

In a two dimensional case, the form of the linear function can be obtained if we know the co-ordinates of two points on the straight line. Suppose  x' and  x"  are two

Descrbe about arithmetic and geometric sequences, Descrbe about Arithmetic ...

Descrbe about Arithmetic and Geometric Sequences? When numbers are listed according to a particular pattern, we call the list a sequence. In a sequence, the numbers are separat

Graph y = cos ( x ) - common graph, Graph y = cos (x) Solution: There ...

Graph y = cos (x) Solution: There actually isn't a whole lot to this one.  Given the graph for -4 ? ≤ x ≤ 4 ? . Note that we can put all values of x in cosine (that wo

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