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

Prove that r is an equivalence relation, 1. Let S be the set of all nonzero...

1. Let S be the set of all nonzero real numbers. That is, S = R - {0}. Consider the relation R on S given by xRy iff xy > 0. (a) Prove that R is an equivalence relation on S, an

????????, ?????? ?????? ?? ???? ??????? ???????? ?????? 3.5 ?? ??? ???? ???...

?????? ?????? ?? ???? ??????? ???????? ?????? 3.5 ?? ??? ???? ???? ????? 50??/???? ??????20??/???? ???? ?? ?? ?????? ???????? ??? ??? ?? ??????? ??????? ? ?? ????? ????

Two circles touching internally prove that ox:oy=oa:ob, Two circles touchin...

Two circles touching internally at O. OXY, OAB straight lines, the latter passing through the centres. Prove that OX : OY = OA : OB. Given : Two circles touching internally a

Numercial analysis and computer techniques, write FORTRAN programme to gene...

write FORTRAN programme to generate prime numbers between 1 and 100

What is approximation, approximate value is the precise or the accurate val...

approximate value is the precise or the accurate value which is measured  to the actual value.., approximation is how close the measured value is to the actual value , for example

Estimate the value of x and y in liner equation, ( a+2b)x + (2a - b)y = 2...

( a+2b)x + (2a - b)y = 2, (a - 2b)x + (2a +b)y = 3 (Ans: 5b - 2a/10ab , a + 10b/10ab ) Ans: 2ax + 4ay = y , we get 4bx - 2by = -1 2ax+ 4ay = 5  4bx- 2by = - 1

HELP, WHAT TWO SIX DIDGIT NUMBERS CAN YOU ADD 984,357

WHAT TWO SIX DIDGIT NUMBERS CAN YOU ADD 984,357

What is the greatest value of the number, Five more than the quotient of a ...

Five more than the quotient of a number and 2 is at least that number. What is the greatest value of the number? Let x = the number. Notice that quotient is a key word for div

3-d coordinate system - three dimensional spaces, The 3-D Coordinate System...

The 3-D Coordinate System We will start the chapter off with a quite brief discussion introducing the 3-D coordinate system and the conventions that we will be utilizing.  We

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