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

1, use 3/8 of a thin of paint, what fraction of the paint is left in thin (...

use 3/8 of a thin of paint, what fraction of the paint is left in thin (show work

#Regular Expression, Find the Regular Grammar for the following Regular Exp...

Find the Regular Grammar for the following Regular Expression: a(a+b)*(ab*+ba*)b.

Developing an understanidng of multiplication, DEVELOPING AN UNDERSTANIDNG ...

DEVELOPING AN UNDERSTANIDNG OF MULTIPLICATION :  The most important aspect of knowing multiplication is to understand what it means and where it is applied. It needs to be first i

Derivatives of inverse trig function, Derivatives of Inverse Trig Functions...

Derivatives of Inverse Trig Functions : Now, we will look at the derivatives of the inverse trig functions. To derive the derivatives of inverse trig functions we'll required t

Regression, Regression line drawn as Y=C+1075x, when x was 2, and y was 239...

Regression line drawn as Y=C+1075x, when x was 2, and y was 239, given that y intercept was 11. calculate the residual

How many different words can be formed out from varanasi, Determine how man...

Determine how many different words can be formed out of the letters of the word VARANASI? Ans: 720 different words can be formed out of the letters of the word VARANASI.

How to multiplying monomials, How to Multiplying Monomials? To multiply...

How to Multiplying Monomials? To multiply monomials: Step 1: Multiply the coefficients. Step 2: Multiply the like variables by adding their exponents. Step 3: Multiply ans

Quadratic equation, can anyone explain me the concept of quadratic equation...

can anyone explain me the concept of quadratic equation?

We know this equation a°=1.prove this?, we know that log1 to any base =0 ta...

we know that log1 to any base =0 take antilog threfore a 0 =1

How to find value in polynomial?, Example  Find the values of the ...

Example  Find the values of the given expressions. Also given that a = 2, b = 3, c = 1, and x = 2. 8a + 5bc          =       8.2

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