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

Differential calculus finding limits, how can i evaluate this lim of x as x...

how can i evaluate this lim of x as x approaches to a

Calculate the total surface area which is exposed , A golf ball has a diame...

A golf ball has a diameter equal to 4.1cm. Its surface has 150 dimples each of radius 2mm. Calculate the total surface area which is exposed to the surroundings assuming that the d

Cycloid - parametric equations and polar coordinates, Cycloid The param...

Cycloid The parametric curve that is without the limits is known as a cycloid.  In its general form the cycloid is, X = r (θ - sin θ) Y = r (1- cos θ)  The cycloid pre

How much greater is 0.0543 than 0.002, How much greater is 0.0543 than 0.00...

How much greater is 0.0543 than 0.002? To ?nd out how much greater a number is, you required to subtract; 0.0543 - 0.002 = 0.0523. For subtract decimals and line the numbers up

Hyperboloid of one sheet - three dimensional spaces, Hyperboloid of One She...

Hyperboloid of One Sheet The equation which is given here is the equation of a hyperboloid of one sheet. x 2 /a 2 + y 2 /b 2 - z 2 /c 2 = 1 Here is a diagram of a com

Find the value of the derivative, Given y = f(x) = x 2 + 2x +3 a) Use the ...

Given y = f(x) = x 2 + 2x +3 a) Use the definitional formula given below to find the derivative of the function. b) Find the value of the derivative at x = 3.

Substitution, When I complete each of the three methods, should I get the s...

When I complete each of the three methods, should I get the same x and y values?

.., the circumference of a circle C of radius r is given by C=2pR.taking p ...

the circumference of a circle C of radius r is given by C=2pR.taking p to be 22/7 a)find the circumference when the radius is 28 cm b)find the radius when the circumference is 484

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

Combining like terms, i don''t understand what my teacher when she talks ab...

i don''t understand what my teacher when she talks about when she talks about cosecutive integers etc... so can u help me???

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