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

System of differential equations for the population, Write down the system ...

Write down the system of differential equations for the population of both predators and prey by using the assumptions above. Solution We will start off through letting that

Set theory, A survey of 400 of recently qualified chartered Accountant reve...

A survey of 400 of recently qualified chartered Accountant revealed that 112 joined industry, 120 stated practice & 160 joined the firms of practicing chartered accountants as paid

Example of 3-d coordinate system, Example of 3-D Coordinate System Exam...

Example of 3-D Coordinate System Example: Graph x = 3 in R, R 2 and R 3 .   Solution In R we consist of a single coordinate system and thus x=3 is a point in a 1-D co

Calculate the area of rectangle , Calculate the area of RECTANGLE ? Th...

Calculate the area of RECTANGLE ? The area of a rectangle is the amount of space taken up by a rectangle, which is a two-dimensional shape. You find the area (A) of a recta

ALGEBRA, FIND PRODUCT (-41)*(102)

FIND PRODUCT (-41)*(102)

Basic statistics, #questio Study A Stu...

#questio Study A Study B Study C x2 = 1.683 F = 7.357 r = .83 df = 4

Find the second derivative of the equation, Find the second derivative of t...

Find the second derivative of the below given equation Y= e x cosx

Integer., How do we add integers

How do we add integers

Between that two call numbers should she place the book, A librarian is ret...

A librarian is returning library books to the shelf. She uses the call numbers to denote while the books belong. She requires placing a book about perennials along with a call numb

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