1. Which of the following is not a valid property of a PARAMETER statement?  | 
			
			
			| Can combine other parameters with FORTRAN arithmetic operators to compute the value of a new parameter | 
			
			
			| Parameters can be set anywhere in a program | 
			
			
			| Integer parameters can be used to set array dimensions | 
			
			
			Parameters can be used as bounds on do loops.
 
  | 
			
			
			
			2. For the following FORTRAN operations give the rank from fastest to slowest in terms of computer time required  | 
			
			
			| x*0.5 | 
			
			
			| x+0.5 | 
			
			
			| x**0.5 | 
			
			
			sqrt(x)
 
  | 
			
			
			
			3. Which of the following is not a valid property of a PARAMETER statement?  | 
			
			
			| Can combine other parameters with FORTRAN arithmetic operators to compute the value of a new parameter | 
			
			
			| Parameters can be set anywhere in a program | 
			
			
			| Integer parameters can be used to set array dimensions | 
			
			
			Parameters can be used as bounds on do loops.
 
  | 
			
			
			
			4. In a FORTRAN program I have set x=2.0, a=2.0 and b=4.0. What is the value of y if:  y = a*x+b**2/x ?  | 
			
			
			| 8.0 | 
			
			
			| 12.0 | 
			
			
			| 16.0 | 
			
			
			64.0
 
  | 
			
			
			
			5. In a FORTRAN program I have set x=1.5,i=3, and j=2. What is the value of y if:  | 
			
			
			| 3.0 | 
			
			
			| 3.5 | 
			
			
			| 4.0 | 
			
			
			4.5
 
  | 
			
			
			
			6. In a FORTRAN program x=4.5, y=3.0, and w=1.5, What is the value of z if:  z = x+w/y+1  | 
			
			
			| 1.5 | 
			
			
			| 3.0 | 
			
			
			| 4.5 | 
			
			
			6.0
 
  | 
			
			
			
			7. In a FORTRAN program x=1.0, y=2.0 and w=3.0. What is the value of z if: z=2.0(x(y+3.0)+w)  | 
			
			
			| 12.0 | 
			
			
			| 16.0 | 
			
			
			| 18.0 | 
			
			
			not determined due to a FORTRAN syntax error
 
  | 
			
			
			
			8. After compiling the FORTRAN statement:  y = c/d + a*x**2-5 Which operation is performed first by the computer?  | 
			
			
			| / | 
			
			
			| + | 
			
			
			| * | 
			
			
			**
 
  | 
			
			
			
			9. For the following FORTRAN operations give the rank from fastest to slowest in terms of computer time required: 1)x*0.5 2)x+0.5 3)x**0.5 4)sqrt(x)  | 
			
			
			| 1-2-3-4 | 
			
			
			| 1-2-4-3 | 
			
			
			| 2-1-3-4 | 
			
			
			2-1-4-3
 
  | 
			
			
			
			10. On the Hammond machines, a single percision floating point (REAL*4) number uses how many bits of memory?  | 
			
			
			| 4 | 
			
			
			| 7 | 
			
			
			| 15 | 
			
			
			32
 
  | 
			
			
			
			11. A number stored in Double Precision Floating Point (REAL*8) format can have at most approximately how many decimal digits of precision?  | 
			
			
			| 3 | 
			
			
			| 7 | 
			
			
			| 31 | 
			
			
			15
 
  | 
			
			
			
			12. A real number established with "selected_real_kind(6,30)" uses how many bits?  | 
			
			
			| 4 | 
			
			
			| 6 | 
			
			
			| 30 | 
			
			
			32
 
  | 
			
			
			
			13. What is the first number in the following list that can not be represented with a Fortran INTEGER*4 ( the default setting on the Hammond machines )data type?  | 
			
			
			| 0 | 
			
			
			| 1025 | 
			
			
			| 2,000,000 | 
			
			
			2,000,000,000,000
 
  | 
			
			
			
			14. What is the first number in the following list that can not be represented with a FORTRAN REAL*8 ( Double Precision ) variable?  | 
			
			
			| -3.0*1050 | 
			
			
			| 3.0*101000 | 
			
			
			| 3.0*10-80 | 
			
			
			3.0*10100
 
  | 
			
			
			
			15. Which of the following is an "executable" statement (takes an action when "a.out" is executed)?  | 
			
			
			| ALLOCATE | 
			
			
			| DIMENSION | 
			
			
			| EXTERNAL | 
			
			
			PARAMETER
 
  | 
			
			
			
			16. Which of the following is an executable statement ( takes action when "a.out" is executeed)?  | 
			
			
			| INTRINSIC | 
			
			
			| DIMENSION | 
			
			
			| EXTERNAL | 
			
			
			CLOSE
 
  | 
			
			
			
			17. A FORTRAN WHERE statement:  | 
			
			
			| Provides the current line number in the input file being processed | 
			
			
			| Returns the name of the current Subroutine or Function | 
			
			
			| Conditionally executes one or more Fortran 90 vector (array) statements | 
			
			
			Provides the current cursor position on the terminal screen
 
  | 
			
			
			
			18. The statement "read(10,end=100) mm  " will:  | 
			
			
			| branch to the statement with label 100 when the end of the file is reached on unit 10 | 
			
			
			| branch to the statement label with 100 when the struing "end" is read from unit 10 | 
			
			
			| branch to the end of the program when a value of 100 is read from unit 10 | 
			
			
			Set the variable mm = 100 when the end of the file is reached
 
  | 
			
			
			
			19. Which of the following statements is a valid way to open the file test.data and associate it with unit 10?  | 
			
			
			| open(10,test.data) | 
			
			
			| open(10,'test.data') | 
			
			
			| open(10, file= test.data ) | 
			
			
			open(10,file='test.data')
 
  | 
			
			
			
			20. On the Hammond machines, a single percision floating point (REAL*4) number uses how many bits of memory?  | 
			
			
			| 4 | 
			
			
			| 7 | 
			
			
			| 32 | 
			
			
			15
 
  |