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

Area between two curves, Area between Two Curves We'll start with the ...

Area between Two Curves We'll start with the formula for finding the area among y = f(x) and y = g(x) on the interval [a,b].  We will also suppose that f(x) ≥ g(x) on [a,b].

Rational exponents, Now we have to start looking at more complicated expone...

Now we have to start looking at more complicated exponents. In this section we are going to be evaluating rational exponents. i.e. exponents in the form

What are the average total repair costs per month, An automobile manufactur...

An automobile manufacturer needs to build a data warehouse to store and analyze data about repairs of vehicles. Among other information, the date of repair, properties of the vehic

Multiplication example, Example  Multiply 3x 5 + 4x 3 + 2x - 1 ...

Example  Multiply 3x 5 + 4x 3 + 2x - 1 and x 4 + 2x 2 + 4. The product is given by 3x 5 . (x 4 + 2x 2 + 4) + 4x 3 . (x 4 + 2x 2 + 4) + 2x .

Linear programming, Consider the following linear programming problem: M...

Consider the following linear programming problem: Min (12x 1 +18x 2 )             X 1 + 2x 2 ≤ 40             X 1 ≤ 50             X 1 + X 2 = 40             X

Free - damped vibrations, We are until now going to suppose that there will...

We are until now going to suppose that there will be no external forces acting on the system, along with the exception of damping obviously. Under this case the differential equati

Find the sum of all natural numbers, Find the sum of all natural numbers am...

Find the sum of all natural numbers amongst first one thousand numbers which are neither divisible 2 or by 5 Ans:    Sum of all natural numbers in first 1000 integers which ar

Area related to circles, railway tunnel of radius 3.5 m and angle aob =90 f...

railway tunnel of radius 3.5 m and angle aob =90 find height of the tunnel

The mean value theorem for integrals, The Mean Value Theorem for Integrals ...

The Mean Value Theorem for Integrals If f(x) is a continuous function on [a,b] then here is a number c in [a,b] thus, a ∫ b f(x) dx = f(c)(b -a) Proof Let's begin

KENDE QE MBESHTETEN NE TE NJEJTIN HARK, korda ab e ndan rrethin me qender o...

korda ab e ndan rrethin me qender o ne dy harqe njeri prej tyre eshte sa trefishi i tjetrit gjeni masat e harqeve dhe masat e trekendeshit aob

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