Answer these 10 Fortran MCQs and see how sharp is your knowledge of Fortran.
Scroll down and let's start!
A. 15
B. 7
C. 31
D. 3
A. 3.5
B. 3.0
C. 4.0
D. 4.5
A. Set the variable mm = 100 when the end of the file is reached
B. Branch to the statement with label 100 when the end of the file is reached on unit 10
C. Branch to the end of the program when a value of 100 is read from unit 10
D. Branch to the statement label with 100 when the struing
A. Parameters can be set anywhere in a program
B. Can combine other parameters with FORTRAN arithmetic operators to compute the value of a new parameter
C. Parameters can be used as bounds on do loops.
D. Integer parameters can be used to set array dimensions
A. Not determined due to a FORTRAN syntax error
B. 16.0
C. 12.0
D. 18.0
A. Close
B. Dimension
C. Intrinsic
D. External
A. 6
B. 30
C. 4
D. 32
A. Provides the current cursor position on the terminal screen
B. Provides the current line number in the input file being processed
C. Conditionally executes one or more Fortran 90 vector (array) statements
D. Returns the name of the current Subroutine or Function
A. Open(10,file='test.data')
B. Open(10,'test.data')
C. Open(10,test.data)
D. Open(10, file= test.data )
A. 3.0
B. 4.5
C. 6.0
D. 1.5