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

How many days are there in a year, There are m months in a year, w weeks wi...

There are m months in a year, w weeks within a month and d days in a week. How many days are there in a year? In this problem, multiply d and w to obtain the total days in one

Class 10, chapter permutation & combination ex :4.6

chapter permutation & combination ex :4.6

Focal chord of the parabola, show that the circle described on any focal c...

show that the circle described on any focal chord of the parabola touches the directrix

What is the probability that the dart will land in the shade, In the adjoin...

In the adjoining figure a dart is thrown at the dart board and lands in the interior of the circle. What is the probability that the dart will land in the shaded region. A

Precalc, I dont understand arcsin and arccos and how to find the domain...h...

I dont understand arcsin and arccos and how to find the domain...help?

Travel time, you are driving on a freeway to a tour that is 500 kilometers ...

you are driving on a freeway to a tour that is 500 kilometers from your home. after 30 minutes , you pass a freeway exit that you know is 50 kilometer from your home. assuming that

Calculate the probability, Data collected from the STATS 10x class survey o...

Data collected from the STATS 10x class survey one semester included responses to questions on the number of different sexual partners and on the number of pairs of shoes the stude

Division, How do i divide 200 by 4

How do i divide 200 by 4

Stats, the automatic hopper loader is set to put 36 tons of coal in each ca...

the automatic hopper loader is set to put 36 tons of coal in each car. the actual weights of coal loaded into each car arw normally distributed with a mean of 36 tons and a standar

Pre Calculus, 5 2 ----- - ----- x-1 x+1 ------------------...

5 2 ----- - ----- x-1 x+1 -------------------- x 1 ----- + ----- x-1 x+1

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