Read Chapter 6 by Monday, Start Homework 8
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 (not much comfort there), nor will I question you on Unix commands not listed here. There are other related issues which are important, such as relative speed of commands, that you should pick up from the class notes.
I have constructed the exam based, entirely on the lists below, and the basic Web notes, and examples on the Web. I have not included questions based on any material in the text not covered in the class notes. I have not included questions from special Web notes, such as the statement definition pages or material on historical figures in the development of computing.
As you review previous exams. Remember that the class was not structured in the same way that it is this year.
SUBROUTINE, CALL, FUNCTION, reference, calling sequence, arguments, function typing, setting the function value, RETURN, ENDModules:
MODULE, END MODULE
C, c, or * in Column 1Stop execution:
STOPData Typing Statements:
REAL INTEGER LOGICAL IMPLICIT NONEAssignment:
=, DATA, PARAMETERArithmetic Operators and Expressions
+ - * / ** ( ) relative speed of operationsLogical Operators and Expressions
.NOT. .AND. .OR. .EQV. .NEQV.Relational Operators
.EQ. .NE. .LT. .LE. .GT. .GE. == /= < <= > >=Precidence of Operators
parentheses ; ** ; * or / ; + or - ; relational operators; .NOT. ; .AND. ; .OR. ; .EQV. or .NEQV.Intrinsic Functions:
ABS, IABS, SIN, COS, TAN, EXP, LOG, ASIN, ACOS, ATAN, SQRT, NINT, MIN, MAX, AMAX1, AMAX0, MAX0, MAX1, AMIN1, AMIN0, MIN0, MIN1Input/Output Statements:
READ, PRINT, WRITE, OPEN, CLOSEIf Structures:
IF(logical) statement; IF(logical) GO TO label; IF (logical) THEN, ELSE IF, ELSE, ENDIF; IF(arithmetic) label, label, labelConditional Structures:
SELECT CASE ( ), CASE, CASE DEFAULT, END SELECT; computed GO TODO loops:
DO 100 I=IMIN,IMAX,ISTEP ; DO I=IMIN,IMAX,ISTEP; DO; DO WHILE (logical), END DOLabels:
Number anywhere in columns 1-5, used for target of a branch, or special statement identification
doesn't do anything, but great place holder for a label on DOSimple GO TO statement
vi and vi commands: dd, x, a, i, Esc, :w, :wq, :q!
Written and Maintained by John Mahaffy : firstname.lastname@example.org