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

Determine the probability, Determine the Probability From a pack of pl...

Determine the Probability From a pack of playing cards what is the probability of; (i)  Picking either a 'Diamond' or a 'Heart' → mutually exclusive (ii) Picking either

Complex numbers, find the modulus Z=(2-i)(5+i12)/(1+i2)^3

find the modulus Z=(2-i)(5+i12)/(1+i2)^3

Give an example of divisibility, Give an example of Divisibility? If yo...

Give an example of Divisibility? If you can divide one number by another without getting a remainder, we say that the first number is divisible by the second. For instance, the

Draw the direction field, Draw the direction field for the subsequent diffe...

Draw the direction field for the subsequent differential equation. Draw the set of integral curves for this differential equation.   Solution:  y′ = y - x  To draw direct

Prove that bd/cd = bf/ce, In the given figure, ∠AEF=∠AFE and E is the mid-p...

In the given figure, ∠AEF=∠AFE and E is the mid-point of CA. Prove that BD/CD = BF/CE Ans:    Draw CG ¦DF In ΔBDF CG ¦ DF ∴ BD/CD = BF/GF     .............(1)

Modeling with first order differential equations, We here move to one of th...

We here move to one of the major applications of differential equations both into this class and in general. Modeling is the process of writing a differential equation to explain a

.probability, a box contains 4 white and 6 green balls.Two balls are drawn ...

a box contains 4 white and 6 green balls.Two balls are drawn randomly with replacement.Show the probability on tree dig.

Explain id amortisation is proper impairment will not arise, If depreciatio...

If depreciation/amortisation is done properly, impairment adjustments will not arise.   Required: Do you agree with the above statement? Critically and fully explain your

Find the length of the second diagonal, Find the length of the second diago...

Find the length of the second diagonal of a rhombus, whose side is 5cm and one of the diagonals is 6cm.

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