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

Find the distance of the bird from the girl, A boy standing on a horizontal...

A boy standing on a horizontal plane finds a bird flying at a distance of 100m from him at an elevation of 300. A girl standing on the roof of 20 meter high building finds the angl

Probability, You''ve decided you want a plant for your room. At the gardeni...

You''ve decided you want a plant for your room. At the gardening store, there are 444 different kinds of plants (tulip, fern, cactus, and ficus) and 444 different kinds of pots to

Calculate the area and perimeter of a parallelogram, Calculate the area and...

Calculate the area and perimeter of a parallelogram: Calculate the area and perimeter of a parallelogram with base (b) = 4´, height (h) = 3´, a = 5´ and b = 4´.  Be sure to in

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

Twelve coworkers go out how many slices will each person get, Twelve cowork...

Twelve coworkers go out for lunch together and sequence three pizzas. Each pizza is cut within eight slices. If each person gets the similar number of slices, how many slices will

Denote the statement in predicate calculus, Denote the subsequent statement...

Denote the subsequent statement in predicate calculus: "Everybody respects all the selfless leaders". Ans: For each X, if every Y that is a person respects X, then X is a selfl

Determine the volume of the hollowed solid, A cylindrical hole with a radiu...

A cylindrical hole with a radius of 4 inches is cut through a cube. The edge of the cube is 5 inches. Determine the volume of the hollowed solid in terms of π. a. 125 - 80π

Find out the volume of the solid -y = (x -1) ( x - 3)2, Find out the volume...

Find out the volume of the solid obtained by rotating the region bounded by y = (x -1) ( x - 3) 2 and the x-axis about the y-axis. Solution Let's first graph the bounded r

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