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

Rolle''s theorem, The curve (y+1) 2 =x 2 passes by the points (1, 0) and ...

The curve (y+1) 2 =x 2 passes by the points (1, 0) and (- 1, 0). Does Rolle's Theorem clarify the conclusion that  dy dx  vanishes for some value of x in the interval -1≤x≤1?

Examples of logarithms, Examples of logarithms: log 2   8 = 3         ...

Examples of logarithms: log 2   8 = 3                                            since    8 = 2 3 log 10   0.01 = -2                                    since    0.01 = 10

Find the least number that is divisible by all numbers, Find the  leas...

Find the  least  number that  is  divisible by all  numbers between 1  and  10  (both inclusive). Ans: The required number is the LCM of 1,2,3,4,5,6,7,8,9,10 ∴ LCM = 2  × 2

PR Plan for Bloomington Bombers softball team, I need to come up with a PR ...

I need to come up with a PR plan for a fictitious women''s softball team. How much would something like that cost?

Find the coordinates of c , Plot the points A(2,0) and B (6,0) on a graph p...

Plot the points A(2,0) and B (6,0) on a graph paper. Complete an equilateral triangle ABC such that the ordinate of C be a positive real number .Find the coordinates of C   (Ans: (

What is minimum spanning tree, What is minimum spanning tree?  Determine a ...

What is minimum spanning tree?  Determine a railway network of minimal cost for the cities in the following graph using Kruskal's algorithm. Ans: Minimum spanning tree in a con

Brahmaguptas problem, How to solve Brahmaguptas Problem? Explain Brahmagupt...

How to solve Brahmaguptas Problem? Explain Brahmaguptas Problem solving method?

Algebra, 1 ream uses 6% of a tree, Estimate the reams of paper used in one ...

1 ream uses 6% of a tree, Estimate the reams of paper used in one month in an office(may be your father, mother or neighbour), hence find the number of trees that need to be cut fo

Find the interval of validity, Solve the subsequent IVP and find the interv...

Solve the subsequent IVP and find the interval of validity for the solution. y' + (4/x) y = x 3 y 2 ,       y(2) = - 1,  x > 0 Solution Thus, the first thing that we re

Algebra 1, Im having trouble with this word problem: The three Math Idol j...

Im having trouble with this word problem: The three Math Idol judges have been eliminating contestants all day! The number of one-step equations and two-step equations who have be

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