2 nd SEMESTER EXAMINATION 2013/2014 ACADEMIC SESSION COURSE CODE: COM 221 COURSE TITLE: COMPUTER PROGRAMMING USING OOFOTRAN PROGRAMME:DIPLOMA 2 COMPUTER SCIENCE INSTRUCTION: Attempt any 4 questions below Duration: 2 hours EXAMINER: MR. AFEEZ ADESHINA Instruction: Answer any FOUR (4) questions 1. (a) Fortran is a general purpose language, what is the full meaning of the acronym FORTRAN
(b) Show the standard structure of a FORTRAN program 2.(a) For each variable name, indicate whether the variable is valid or invalid i. Amt Due ii. Amt_due iii. 2go (b) Indicate the implicit data type based on the variable names i. google ii. consult iii. real 3. Illustrate the operator by listing the results of each operation. Indicate the results of each operation as 1 st , 2 nd , 3 rd
etc.
a. b. c.
4. The equation to convert degrees F to degree C is
( ) , write a program to request temperature in
degrees F and return the temperature in degrees C.
5. Explain the following terms as it relates to FORTRAN i. Variable ii. Constants iii. Implicit None
6a. Briefly explain Intrinsic functions
b. List 3 examples of intrinsic functions and its format of usage