Dear Readers, Welcome to Fortran Objective Questions and Answers have been designed specially to get you acquainted with the nature of questions you may encounter during your Job interview for the subject of Fortran Multiple choice Questions. These Objective type Fortran are very important for campus placement test and job interviews. As per my experience good interviewers hardly plan to ask any particular question during your Job interview and these model questions are asked in the online technical test and interview of many IT & Non IT Industry.
A. Can combine other parameters with FORTRAN arithmetic operators to compute the value of a new parameter
B. Parameters can be set anywhere in a program
C. Integer parameters can be used to set array dimensions
D. Parameters can be used as bounds on do loops.
Ans: B
A. x*0.5
B. x+0.5
C. x**0.5
D. sqrt(x)
Ans: C
A. Can combine other parameters with FORTRAN arithmetic operators to compute the value of a new parameter
B. Parameters can be set anywhere in a program
C. Integer parameters can be used to set array dimensions
D. Parameters can be used as bounds on do loops.
Ans: B
A. 8.0
B. 12.0
C. 16.0
D. 64.0
Ans: B
A. 3.0
B. 3.5
C. 4.0
D. 4.5
Ans: C
A. 1.5
B. 3.0
C. 4.5
D. 6.0
Ans: D
A. 12.0
B. 16.0
C. 18.0
D. not determined due to a FORTRAN syntax error
Ans: D
A. /
B. +
C. *
D. **
Ans: D
1)x*0.5
2)x+0.5
3)x**0.5
4)sqrt(x)
A. 1-2-3-4
B. 1-2-4-3
C. 2-1-3-4
D. 2-1-4-3
Ans: D
A. 4
B. 7
C. 15
D. 32
Ans: D
A. 3
B. 7
C. 31
D. 15
Ans: D
A. 4
B. 6
C. 30
D. 32
Ans: D
A. 0
B. 1025
C. 2,000,000
D. 2,000,000,000,000
Ans: D
A. -3.0*1050
B. 3.0*101000
C. 3.0*10-80
D. 3.0*10100
Ans: B
A. ALLOCATE
B. DIMENSION
C. EXTERNAL
D. PARAMETER
Ans: A
A. INTRINSIC
B. DIMENSION
C. EXTERNAL
D. CLOSE
Ans: D
A. Provides the current line number in the input file being processed
B. Returns the name of the current Subroutine or Function
C. Conditionally executes one or more Fortran 90 vector (array) statements
D. Provides the current cursor position on the terminal screen
Ans: C
A. branch to the statement with label 100 when the end of the file is reached on unit 10
B. branch to the statement label with 100 when the struing "end" is read from unit 10
C. branch to the end of the program when a value of 100 is read from unit 10
D. Set the variable mm = 100 when the end of the file is reached
Ans: A
A. open(10,test.data)
B. open(10,'test.data')
C. open(10, file= test.data )
D. open(10,file='test.data')
Ans: D
A. 4
B. 7
C. 32
D. 15
Ans: D
A. Integer, Real, Double Precision, Character
B. Integer, Real, Character, Logical
C. INteger, Real, Complex, Character
Ans: B
A. 6
B. 9
C. 7
Ans: C
A. An exclamationmark ! anywhere on the line
B. A C in column one
C. An asterisk * in column six?
Ans: A
A. by an asterisk * in column 6
B. An ampersand & at the end of a line
C. By using brackets
Ans: B
A. A jump label or format label
B. Just a jump label
C. Just a format label
Ans: A
A. Can combine other parameters with FORTRAN arithmetic operators to compute the value of a new parameter
B. Parameters can be set anywhere in a program
C. Integer parameters can be used to set array dimensions
D. Parameters can be used as bounds on do loops.
E. Can be passed as arguments to subroutines
Ans: B
A. 8.0
B. 12.0
C. 16.0
D. 32.0
E. 64.0
Ans: B
A. 3.0
B. 3.5
C. 4.0
D. 4.5
E. 5.0
Ans: C
A. 1.5
B. 3.0
C. 4.5
D. 6.0
Ans: D
A. 12.0
B. 16.0
C. 18.0
D. 22.0
E. not determined due to a FORTRAN syntax error
Ans: E
A. /
B. +
C. *
D. **
E. -
Ans: D
A. d
B. dd
C. dl
D. r
E. x
Ans: B
A. Provide help on the command "ls" as text in a file called "more"
B. Provide help on the command "ls" viewed with the utility "more"
C. Provide help on commands alphabetically between ls and more
D. Provide a more detailed help on the command "ls" than is usually given
E. Result in a system message: "Command not found"
Ans: A
A. del
B. dd
C. df
D. rf
E. rm