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

What is the opec, What is the OPEC? - The Organization of the Petroleum Exp...

What is the OPEC? - The Organization of the Petroleum Exporting Countries, a coordination group of petrol producers The Organization for Peace and Economic Cooperation, a German le

Some definitions of exponential e, Some Definitions of e 1. ...

Some Definitions of e 1. 2.   e is the unique +ve number for which 3. The second one is the significant one for us since that limit is exactly the limit

Multiply 3 (x + 4) = 3x + 12 to find out the total perimeter, Jake required...

Jake required to find out the perimeter of an equilateral triangle whose sides measure x + 4 cm each. Jake realized that he could multiply 3 (x + 4) = 3x + 12 to find out the total

Conditional probability - rules of probability, Conditional probability - R...

Conditional probability - Rules of Probability This is the probability associated with combinations of events but given that some prior result has already been achieved with o

Differance between expanded notation vs. standard notation , Differance bet...

Differance between Expanded Notation vs. Standard Notation ? A number written in expanded notation is broken down into parts just like it is in a place-value table. Example

Factoring out a common monomial factor, Factoring Out a Common Monomial Fac...

Factoring Out a Common Monomial Factor? Say you have a polynomial, like 3x 4 y - 9x 3 y + 12x 2 y2 z and you want to factor it. Your first step is always to look for t

Quadratic equation, If roots of (x-p)(x-q) = c are a and b what will be th...

If roots of (x-p)(x-q) = c are a and b what will be the roots of (x-a)(x-b) = -c please explain. Solution)  (x-p)(x-q)=c x2-(p+q)x-c=0 hence,   a+b=p+q  and    a.b=pq-c

Trivial solution of equation, Specified a system of equations, (1), we will...

Specified a system of equations, (1), we will have one of the three probabilities for the number of solutions. 1.   No solution. 2.   Accurately one solution. 3.   Infinit

Example of developing an understanding, In class 1, the teacher had written...

In class 1, the teacher had written down the digits 0,1, ...., 9 on the board. Then she made all the children recite the corresponding number names. Finally, she made them write th

Find the slope of a line given two points on it, Finding the Slope of a Lin...

Finding the Slope of a Line, Given Two Points on it ? Find the slope of the line passing through the pairs of points (-5, -2) and (2, 4). One way to find the slope is

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