20 TOP Fortran Multiple Choice Questions and Answers

List of top 20 most frequently asked fortran multiple choice questions and answers pdf download free

Fortran Multiple Choice Questions and Answers List

  1. Which of the following is not a valid property of a PARAMETER statement?
  2. For the following FORTRAN operations give the rank from fastest to slowest in terms of computer time required
  3. Which of the following is not a valid property of a PARAMETER statement?
  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 ?
  5. In a FORTRAN program I have set x=1.5,i=3, and j=2. What is the value of y if:
  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
  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)
  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:
  10. On the Hammond machines, a single percision floating point (REAL*4) number uses how many bits of memory?
  11. A number stored in Double Precision Floating Point (REAL*8) format can have at most approximately how many decimal digits of precision?
  12. A real number established with “selected_real_kind(6,30)” uses how many bits?
  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?
  14. What is the first number in the following list that can not be represented with a FORTRAN REAL*8 ( Double Precision ) variable?
  15. Which of the following is an “executable” statement (takes an action when “a.out” is executed)?
  16. Which of the following is an executable statement ( takes action when “a.out” is executeed)?
  17. A FORTRAN WHERE statement:
  18. The statement “read(10,end=100) mm ” will:
  19. Which of the following statements is a valid way to open the file test.data and associate it with unit 10?
  20. On the Hammond machines, a single percision floating point (REAL*4) number uses how many bits of memory?

Like This Page...Share on FacebookTweet about this on TwitterPin on PinterestShare on Google+Share on LinkedInShare on RedditShare on StumbleUponShare on TumblrBuffer this pageDigg thisEmail this to someone
This entry was posted in Multiple Choice Questions. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *