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

Definition and theorem of derivation, Definition : A function f ( x ) is c...

Definition : A function f ( x ) is called differentiable at x = a if f ′ ( x ) exists & f ( x ) is called differentiable onto an interval if the derivative present for each of the

Function and relation, how to know if it is function and if is relation

how to know if it is function and if is relation

Obtain the sum of the squares of values, This question is in the form of an...

This question is in the form of an exercise and questions designed to give you more insight into signal processing. On the Moodle site for the module there is an EXCEL file called

Math, the size of my sitting room is 7metres by 6metres . i bought a rug fo...

the size of my sitting room is 7metres by 6metres . i bought a rug for covering the centre of its floor. one metre of the floor around the edge of the room is not to be covered by

Math World Problem, The ratio of gasoline to oil needed to run a chain-saw ...

The ratio of gasoline to oil needed to run a chain-saw is 16:1. If you have 3.5 mL of oil, how many millilitres of gasoline must you add to get the proper mixture?

Find distance between points (b + c, Find the distance between the points (...

Find the distance between the points (b + c, c + a) and (c + a, a + b) . Ans : Use distance formula

Quadratic equations by completing the square method, Can we solve the Quadr...

Can we solve the Quadratic Equations by completing the square method? if yes explain it.

digraph of r, Let R be the relation on S = {1, 3, 6, 9, 27} defined by aRb...

Let R be the relation on S = {1, 3, 6, 9, 27} defined by aRb iff a|b. (a) Write down the matrix of R. (b) Draw the digraph of R. (c) Explain whether R is reflexive, irrere

Types of distribution, Types of distribution Population distribution ...

Types of distribution Population distribution This refers to the distribution of the individual values of population. This mean it is denoted by 'µ' Sample distributi

Find the volume of water left in the cylindrical tub, A solid is in the for...

A solid is in the form of a right circular cone mounted on a hemisphere. The radius of the hemisphere is 3.5 cm and the height of the cone is 4 cm. The solid is placed in a cylindr

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