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

Sets & relation.., the graph of relation y=f(x) respect to x=2 straight lin...

the graph of relation y=f(x) respect to x=2 straight line is symmetrical then which is correct; (option) a) f(x+2)=f(x_2),b)f(2+x)=f(2_x),c)f(x)=f(_x),d)f(x)=_f(_x)

Graphing formulas, how do you graph y+3=-x+3x on a TI-83 graphing calculato...

how do you graph y+3=-x+3x on a TI-83 graphing calculator?

Vector, with t =[a b c] construct a matrix A = 1 1 1 ...

with t =[a b c] construct a matrix A = 1 1 1 a b c a^2 b^2 c^2 a^3 b^3 c^3 using vector operations

Find out the hydrostatic force on the triangular plate, Find out the hydros...

Find out the hydrostatic force on the following triangular plate that is submerged in water as displayed. Solution The first thing to do here is set up an axis system

Indeterminate forms, Indeterminate forms Limits we specified methods fo...

Indeterminate forms Limits we specified methods for dealing with the following limits. In the first limit if we plugged in x = 4 we would get 0/0 & in the second limit

Xy Algebra, Find the values of x and y

Find the values of x and y

the height of the tower, A Stone is dropped from the top of the tower and ...

A Stone is dropped from the top of the tower and travel 24.5 m in last second of its journey. the height of the tower is ...?

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