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

Simplex table, maximize Z=2x+5y+7z, subject to constraints : 3x+2y+4z =0

maximize Z=2x+5y+7z, subject to constraints : 3x+2y+4z =0

Estimate the slope of a line?, Estimate the Slope of a Line? The slope o...

Estimate the Slope of a Line? The slope of a line is a measure of how steep it is. It is defined as y 2 - y 1 /x 2 -x 1 Where (x 1 , y 1 ) and (x 2 , y 2 ) are any two p

Properties of t distribution, Properties of t distribution 1. The t di...

Properties of t distribution 1. The t distribution ranges from - ∞ to ∞ first as does the general distribution 2. The t distribution as the standard general distribution is

Prove the boolean expression, Prove the subsequent Boolean expression: ...

Prove the subsequent Boolean expression: (x∨y) ∧ (x∨~y) ∧ (~x∨z) = x∧z Ans: In the following expression, LHS is equal to:   (x∨y)∧(x∨ ~y)∧(~x ∨ z) = [x∧(x∨ ~y)] ∨ [y∧(x∨

Functions , For the layman, a "function" indicates a relationsh...

For the layman, a "function" indicates a relationship among objects. A function provides a model to describe a system. Economists refer to deman

Determine how much more time it will take to reach the base, A man on a top...

A man on a top of a tower observes a truck at an angle of depression α where tanα = 1/√5 and sees that it is moving  towards the base of the tower. Ten minutes later, the angle of

Dividing, I don''t know how to do the next step like if I had 73 divided by...

I don''t know how to do the next step like if I had 73 divided by 9 wouldn''t 7 go into nine 1 time then you have to do something else but that is the part I don''t understand

Simple interest, Three payments of $2000 (originally due six months ago, to...

Three payments of $2000 (originally due six months ago, today, and six months from now) have been renegotiated to two payments: $3000 one month from now and a second payment due in

Circles, Two tangents TP and TQ are drawn to a circle with center O from an...

Two tangents TP and TQ are drawn to a circle with center O from an external point T.prove that angle PTQ=angle 2 OPQ

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