-
Choose the right Answer:
-
ForTran stands for _________________________
-
Forms Transfer
-
Forum Transcribe
-
Formula Translation
-
Format Transference
-
A file of 2 Kbytes size have _________________________
-
2000 Characters
-
2020 Characters
-
2048 Characters
-
2096 Characters
-
Fill the empty spaces:
In Fortran Identifiers must begin with a letter
, which may be followed by up to thirty (30)
letters , digits , or under-score.
-
Read the following source code:
PROGRAM YEAR_INCOME
! REMEMBER COMMENTS ARE ALWAYS HELPFUL
REAL :: IS_ME_INTEGER
IS_ME_INTEGER = 12
PRINT *, 'Your Employee ID # and Salary: '
READ *, ID, SALARY
PRINT *, "Your ID Number is ", ID, " and you
earn: $", &
SALARY*IS_ME_INTEGER, "/year"
END PROGRAM YEAR_INCOME
What are the types of IS_ME_INTEGER, ID and SALARY?
IS_ME_INTEGER
|
REAL
|
ID
|
INTEGER
|
SALARY
|
REAL
|
-
Evaluate the result of the following expression:
5.0** 2 * 4 / 2 + 8 - 2 * (81/9)**(1.0/2)
52 (Applying the Priority Rules such as evaluate
first expressions between parentheses, exponential, multiplication and
division then addition and subtraction)
-
BONUS: Who did say: "In language, clarity is everything"?
Confucius
|