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

Example of probability, Example of Probability: Example: By using...

Example of Probability: Example: By using a die, what is the probability of rolling two 3s in a row? Solution: From the previous example, there is a 1/6 chance of

Machines, descuss the seauencing problem for n jobs on two and three machin...

descuss the seauencing problem for n jobs on two and three machines

Describe real numbers, Q. Describe Real numbers? Ans. There are a ...

Q. Describe Real numbers? Ans. There are a few different ways to describe real numbers. Without going into any of the very technical definitions used by mathematicians, I'

Evaluate the length of the diagonal of the print, A framed print measures 3...

A framed print measures 36 by 22 in. If the print is enclosed by a 2-inch matting, Evaluate the length of the diagonal of the print? Round to the nearest tenth. See Example.

Horizontal tangents for parametric equations, Horizontal tangents for Param...

Horizontal tangents for Parametric Equations Horizontal tangents will take place where the derivative is zero and meaning of this is that we'll get horizontal tangent at value

Lim x, Q. lim x tends to 0 (5 tanx sinx upon x square) here ( ) this bracke...

Q. lim x tends to 0 (5 tanx sinx upon x square) here ( ) this bracket indicates greatest integer function Ans: You can calculate the limit of this function using basic concept of

How tall was peter when he turned 15, Peter was 60 inches tall on his thirt...

Peter was 60 inches tall on his thirteenth birthday. By the time he turned 15, his height had increased 15%. How tall was Peter when he turned 15? Find 15% of 60 inches and add

Strategic , Hi need a help for marketing strategic assignment Could you ab...

Hi need a help for marketing strategic assignment Could you able to help me???

Mrs. farrell''s class has 26 students how many were absent, Mrs. Farrell's ...

Mrs. Farrell's class has 26 students. Just 21 were present on Monday. How many were absent? Subtract the number of students present from the total number within the class to de

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