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

Maths Assessment, Assessment task This Term Assessment will require you ass...

Assessment task This Term Assessment will require you assess the effectiveness of your current lunch budget and prepare a proposal to your caregiver to seek permission to be given

Proof of limit comparison test - sequences and series, Proof of Limit Compa...

Proof of Limit Comparison Test As 0  Now, as   we know that for large enough n the quotient a n /b n should be close to c and thus there must be a positive integer

Solid Mensuration, The two sides of a triangle are 17 cm and 28 cm long, an...

The two sides of a triangle are 17 cm and 28 cm long, and the length of the median drawn to the third side is equal to 19.5 cm. Find the distance from an endpoint of this median to

Mechanical vibrations, While we first looked at mechanical vibrations we lo...

While we first looked at mechanical vibrations we looked at a particular mass hanging on a spring with the possibility of both a damper or/and external force acting upon the mass.

Natural exponential function , Natural exponential function : There is a e...

Natural exponential function : There is a extremely important exponential function which arises naturally in several places. This function is called as the natural exponential fun

Algorithm, what does algorithm refer to

what does algorithm refer to

#title.heat loss in a cylindrical pipe., briefly explain how the famous equ...

briefly explain how the famous equation for the loss of heat in a cylindrical pipe is derived

Statistics, find the number of ways 17 employees can b chosen from 327

find the number of ways 17 employees can b chosen from 327

factorial, why zero factorial is equal to on

why zero factorial is equal to one

Example of parametric equations and parametric curves, Draw the parametric ...

Draw the parametric curve for the subsequent set of parametric equations. X = t 2 +t Y=2t-1 -1 t 1 Solution Note that the only dissimilarity here is the exis

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