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

Circles, Circles In this section we are going to take a rapid look at ...

Circles In this section we are going to take a rapid look at circles.  Though, prior to we do that we have to give a quick formula that expectantly you'll recall seeing at som

Power rule, Power rule: d(x n )/dx = nx n-1 There are really three ...

Power rule: d(x n )/dx = nx n-1 There are really three proofs which we can provide here and we are going to suffer all three here therefore you can notice all of them. T

Determine the range of given algorithm, The division algorithm says that wh...

The division algorithm says that when a is divided by b, a unique quotient and remainder is obtained. For a fixed integer b where b ≥ 2, consider the function f : Z → Z given by f(

Management, Discuss demanding total market demand verus gaing market share

Discuss demanding total market demand verus gaing market share

Fractions, if you have 1/5 of a candy bar and 4 friends how much will they ...

if you have 1/5 of a candy bar and 4 friends how much will they get

Find the maxima and minima - equal pi, 1) Find the maxima and minima of f(x...

1) Find the maxima and minima of f(x,y,z) = 2x + y -3z subject to the constraint 2x^2+y^2+2z^2=1 2) Compute the work done by the force ?eld F(x,y,z) = x^2I + y j +y k in moving

Dimensional analysis, Rachel had 3.25 quart of ice tea. her family drank 9 ...

Rachel had 3.25 quart of ice tea. her family drank 9 cups.How many cups are left

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