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

Properties for exponents, The next thing that we must acknowledge is that a...

The next thing that we must acknowledge is that all of the properties for exponents . This includes the more general rational exponent that we haven't looked at yet. Now the pr

Derivatives, application of derivatives in engg.

application of derivatives in engg.

Probability - applications of integrals, Probability - Applications of inte...

Probability - Applications of integrals In this final application of integrals that we'll be looking at we are going to look at probability.  Previous to actually getting into

Mental math, i dint get how to do math promblems

i dint get how to do math promblems

Find out the hydrostatic force on the triangular plate, Find out the hydros...

Find out the hydrostatic force on the following triangular plate that is submerged in water as displayed. Solution The first thing to do here is set up an axis system

Who had the highest batting average, Mike, Dan, Ed, and Sy played together ...

Mike, Dan, Ed, and Sy played together on a baseball team. Mike's batting average was 0.349, Dan's was 0.2, Ed's was 0.35, and Sy's was 0.299. Who had the highest batting average?

What are inclusive events, Q. What are Inclusive Events? Ans. Even...

Q. What are Inclusive Events? Ans. Events that can occur at the same time are called inclusive events. For example, a student can belong to more than one club at one time

Volume, Rajun uses 2/3 of a carton of milk to make a pancake. The volume of...

Rajun uses 2/3 of a carton of milk to make a pancake. The volume of milk he uses is 800ml. calculate the volume, in l, of a milk in carton?

L''hospital''s rule, L'Hospital's Rule Assume that we have one of the g...

L'Hospital's Rule Assume that we have one of the given cases, where a is any real number, infinity or negative infinity.  In these cases we have, Therefore, L'H

Complex number, If z=re i ? ,find the value of |e iz | Solution)   z=r(c...

If z=re i ? ,find the value of |e iz | Solution)   z=r(cos1+isin1) |e iz |=|e ir(cos1+isin1) |=|e -rsin1 |=e -rsin1

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