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

Holistic marketing , Necessity of holistic marketing or importance of holis...

Necessity of holistic marketing or importance of holistic marketing

Prime Ideals, Given a standard 2x3 matrix show the ideal formed by the 2x2 ...

Given a standard 2x3 matrix show the ideal formed by the 2x2 minors is Prime.

Math, there is 22 owls . my mom gave me 6 more . how many owls do they have...

there is 22 owls . my mom gave me 6 more . how many owls do they have

Real analysis, Let {An} be sequence of real numbers. Define a set S by: S={...

Let {An} be sequence of real numbers. Define a set S by: S={i ? N : for all j > i, ai

Use the power function to find derivative, Given, y = f(x) = 2 x 3 - 3x 2 ...

Given, y = f(x) = 2 x 3 - 3x 2 + 4x +5 a)  Use the Power function to find derivative of the function. b)  Find the value of the derivative at x = 4.

What is limit x tends to 0 log(1+x)/x to the base a?, Here we will use the...

Here we will use the expansion method Firstly lim x-0 log a (1+x)/x firstly using log property we get: lim x-0 log a (1+x)-logx then we change the base of log i.e lim x-0 {l

Concrete operational stage, Concrete Operational Stage :  Piaget describes...

Concrete Operational Stage :  Piaget describes a five-year-old boy playing with a collection of pebbles. First, he laid them in a line and counted along the line from left to righ

Fuzzy decisionmaking using minimization of regret, why we use decision maki...

why we use decision making using minimization of regret method in uncertainty?

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