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

Linear programming problem, I have a linear programming problem that we are...

I have a linear programming problem that we are to work out in QM for Windows and I can''t figure out how to lay it out. Are you able to help me if I send you the problem?

Limits, evaluate limit as x approaches 0 (x squared times sin (1/x)

evaluate limit as x approaches 0 (x squared times sin (1/x)

Evaluate the slope of the line, Evaluate the slope of the line: Examp...

Evaluate the slope of the line: Example: What is the slope of the line passing through the points (20, 85) and (30, 125)? Solution:            m = 125 -85/30-20 = 4

Case let, How should Shoppers’ Stop develop its demand forecasts?

How should Shoppers’ Stop develop its demand forecasts?

How many feet is the new length if the new area is 141, A rectangular garde...

A rectangular garden has a width of 20 feet and a length of 24 feet. If each side of the garden is increased through the similar amount, how many feet is the new length if the new

Maths, what is the diameter of a circle

what is the diameter of a circle

Vectors, why minimum three coplanar vectors are required to give zero resul...

why minimum three coplanar vectors are required to give zero resultant and not two?

Differentiate functions h (t ) = 2t5 + t2- 5 / t2 , Differentiate f...

Differentiate following functions.                       h (t ) = 2t 5 + t 2 - 5 / t 2 We can simplify this rational expression as follows.                       h (t )

Function of a function, Function of a Function Suppose ...

Function of a Function Suppose y is a function of z,            y = f(z) and z is a function of x,            z = g(x)

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