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

Area and Perimeters, The top of the new rectangular Big Gig Thingamajig is ...

The top of the new rectangular Big Gig Thingamajig is 80 inches long and 62 inches wide. What is the top''s perimeter?

Example on abels theorem, Without solving, find out the Wronskian of two so...

Without solving, find out the Wronskian of two solutions to the subsequent differential equation. t 4 y'' - 2t 3 y' - t 8 y = 0 Solution : First thing that we want to d

Calculate the gains from trade, Table shows the productivity for the countr...

Table shows the productivity for the countries Pin and Pang. 1) If the working population of Pin and Pang are both 6 million, divided equally between the two industries in

The null hypothesis, The null hypothesis It is the hypothesis being tes...

The null hypothesis It is the hypothesis being tested, the belief of a specific characteristic for illustration, US Bureau of Standards may walk to a sugar making company along

Evaluate the volume and surface area of a rectangular solid, Evaluate the v...

Evaluate the volume and surface area of a rectangular solid: Calculate the volume & surface area of a rectangular solid along with a =   3", b = 4", & c = 5".  Solution:

Time and Work, A and B can finish a piece of work in 16 days and 12 days re...

A and B can finish a piece of work in 16 days and 12 days respectively.A started a work and worked at it for 2 days.He was then joined by B.Find the total time taken to finish the

Simple random sampling, Simple Random Sampling It refers to the samplin...

Simple Random Sampling It refers to the sampling technique whether each and every item of the population is described an equal chance of being included in the sample. Because s

What is the probability of choosing a red ball, Q. What is the probability ...

Q. What is the probability of choosing a red ball? Ans. A box contains a red, blue and white ball. Two are drawn with replacement. (This means that one ball is selected, i

Combination, three complain forces of magnitudes 20N 30N and 45N

three complain forces of magnitudes 20N 30N and 45N

Subtraction involving negative numbers, Q. Subtraction Involving Negative N...

Q. Subtraction Involving Negative Numbers? In order to subtract positive and negative numbers, you need to be aware of the Rule for Subtraction. This rule states that subtracti

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