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

Applications of derivatives rate change, Application of rate change Bri...

Application of rate change Brief set of examples concentrating on the rate of change application of derivatives is given in this section.  Example    Find out all the point

Find the area of shaded region, Find the area of shaded region, if the side...

Find the area of shaded region, if the side of square is 28cm and radius of the sector is ½ the length of side of square.

Explain the decimal system in detail, Explain The Decimal System in detail?...

Explain The Decimal System in detail? A decimal, such as 1.23, is made up of two parts: a whole number and a decimal fraction. In 1.23, the whole number is 1 and the decimal fr

What are the average total repair costs per month, An automobile manufactur...

An automobile manufacturer needs to build a data warehouse to store and analyze data about repairs of vehicles. Among other information, the date of repair, properties of the vehic

Solve the second order differential equations, Solve the subsequent IVP ...

Solve the subsequent IVP Y'' - 9 y = 0, y(0) = 2, y'(0) = -1 Solution First, the two functions  y (t ) = e 3t  and  y(t ) = e -3t That is "nice enough" for us to

Arithmetic progression., 1.If a+b=2b and ab+cd+ad=3bc,prove that a,b,c,d ar...

1.If a+b=2b and ab+cd+ad=3bc,prove that a,b,c,d are in A.P 2.The nth term of an A.P is an+b.Find the sum of the series upto n terms.

To find out the perimeter of a triangular give formula, To find out the per...

To find out the perimeter of a triangular region, what formula would you use? The perimeter of a triangle is length of surface a plus length of side b plus length of side c.

Math 533, Project part A, part B, part C

Project part A, part B, part C

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