Read Chapter 14
What to study for the exam? Start by looking below. If you understand, all listed commands and concepts, you will be in very good shape. I will not ask any questions on Fortran statements not listed here or in the last summary list (knowledge of old material will tested only to the extent that it interacts with current material), nor will I question you on Unix commands not listed here. There are other related issues which are important, such as pipelining that you should pick up from the class notes.
I have constructed the exam based, entirely on the lists below, homeworks, the class notes, and examples on the Web. I have not included questions based on any material in the text not covered in the class notes.
As you review last year's exams. Remember that the class was not structured in the same way that it is this year.
Fortran 90 array arithmetic assignment statements, Array Initialization, Implied DO,
Fortran 90 Intrinsics: MAXLOC, MAXVAL, MINLOC, MINVAL, SUM, and the MASK option,
WHERE, ELSEWHERE, END WHERE
Passing Arrays through subroutine and function argument lists
ALLOCATE, ALLOCATABLE, and DEALLOCATE statements; ALLOCATED intrinsic function; Automatic Arrays
Data Types: REAL, INTEGER, LOGICAL, DOUBLE PRECISION, CHARACTER, COMPLEX; KIND attribute and use of "selected_int_kind" and "selected_real_kind" intrinsic functions; approximate decimal precision and exponent range for REAL and DOUBLE PRECISION on our workstations.
Formatted and Unformatted records, and associated READs and WRITEs. Sequential and Direct Access files. Use of OPEN , and CLOSE. BACKSPACE, REWIND, INQUIRE, and ENDFILE statements. "FILE=", "END=", "IOSTAT=", "ADVANCE='NO', "POSITION='APPEND'", "EXIST="
FORMAT statement and FORMAT edit descriptors: "i", "f", "e", "a", "x", "1p", "/"
Repeat Count in FORMAT: 5X, 3(f5.1,2x,i5) etc.
Reuse of portions of FORMAT (wrap-around) when list of variables to write exceeds number of edit descriptors.
Use of CHARCTER variable to contain format: WRITE(11,CHARFORM) x,y,z
Use of CHARACTER variable rather than unit number in READ and WRITE (internal read and write)
Using CHARACTER variables: setting length; concatenation operator (//); substring notation (e.g. string(1:5) ); full definition and use of intrinsic functions INDEX and LEN; capabilities contained in the intrinsic functions TRIM, LEN_TRIM, ACHAR, IACHAR, ADJUSTL, ADJUSTR, SCAN, VERIFY
EXTERNAL and INTRINSIC function type statements
Sorting (Selection, Bubble, Insertion, relative performance)
Written and Maintained by John Mahaffy : firstname.lastname@example.org