Standard FORTRAN IV
Questions
Due Thursday, 0ct. 12 at start of class – must
be printed
Name
________________________
1.
What are the delimiters used to surround an array index?
2.
Where do FORTRAN array bounds start?
3. Why is it not necessary to declare all
variables in FORTRAN?
4. Where are subprograms placed physically in a
standard FORTRAN program?
5. Is FORTRAN case sensitive?
6. Does FORTRAN allow mixed mode
arithmetic?
7. Does FORTRAN have any reserved words?
8. How many different types of subprograms are
there in FORTRAN?
9. Suppose you declare a 10 element array of
integers, assign values to 8 of the elements and print out all 10
elements. What happens in your version
of FORTRAN? (what
version do you have?)
10. Suppose you declare a 5 element array of
integer and attempt to print out the 6th through 10th elements.
What happens in your version of FORTRAN?
(what version do you have?)
11. Does FORTRAN allow you to dynamically
allocate storage? If so, how is it
done?
12. What is the FORTRAN symbol for the relational
operator 'not equal'?
13.
In FORTRAN, which has higher precedence .AND. or .OR. or do they have
equal precedence?
14. What are the Boolean values in FORTRAN?
15. What FORTRAN type is illustrated by the type
LOGICAL?
16. Does FORTRAN have variables of an enumerated
type?
17. What is the major difference between a
FUNCTION and a SUBROUTINE
18. How long can an identifier be in your version
of FORTRAN? What is your version?
20. What is the method of parameter passing in FORTRAN