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

Operation research, i have assignment in operatuion research can you help m...

i have assignment in operatuion research can you help me

Find the perimeter and the area of the shaded portion, The given figure con...

The given figure consists of four small semicircles and two big semicircles.  If the smaller semicircles are equal in radii and the bigger semicircles are also equal in radii, find

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

Geometry, In a square of side 8 cm two quadrant with taking the side of squ...

In a square of side 8 cm two quadrant with taking the side of square as radius are inscribed in the square..

Devide polynomials, what is the quotient of 20x to the power of 2 y-16x y t...

what is the quotient of 20x to the power of 2 y-16x y to the power of 2+ 8xy and -8xy

Shares and dividend, by purchasing rs.10 shares for rs.40 each mala gets 5%...

by purchasing rs.10 shares for rs.40 each mala gets 5% income on her investment. what rate of dividend is the company paying? what will be the amount of dividend if she buys 120 sh

Reduction-types of word problems related to subtraction, Reduction -when t...

Reduction -when the original amount and the balance or remainder are known, to find the part that has been given away. (e.g., there were 15 toffees in a container, and there are

Hierarchical structures-how mathematical ideas grow, Hierarchical Structure...

Hierarchical Structures :  As the abstractions from concrete objects and materials become more and more general, they represent wider and wider ideas. If we put down each step of

Diffrence between rational and irrational numbers, Q. Diffrence between Rat...

Q. Diffrence between Rational and Irrational Numbers? Ans. A number which is not rational is called irrational. The word "irrational" sounds not quite right...as though th

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