| Snaprecruit.com
| Snaprecruit.com
JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing
Enterprises
Interview question based on skill :
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 5
1. Which of the following is not a valid property of a PARAMETER statement?
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.
Show Correct Answer
Correct Answer is :
Parameters can be set anywhere in a program
2. For the following FORTRAN operations give the rank from fastest to slowest in terms of computer time required
A. x*0.5
B. x+0.5
C. x**0.5
D. sqrt(x)
Show Correct Answer
Correct Answer is :
x**0.5
3. Which of the following is not a valid property of a PARAMETER statement?
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.
Show Correct Answer
Correct Answer is :
Parameters can be set anywhere in a program
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 ?
A. 8
B. 12
C. 16
D. 64
Show Correct Answer
Correct Answer is :
12
5. In a FORTRAN program I have set x=1.5,i=3, and j=2. What is the value of y if:
A. 3
B. 3.5
C. 4
D. 4.5
Show Correct Answer
Correct Answer is :
4