Home / CSE MCQs / FORTRAN ::

CSE MCQs :: FORTRAN

  1. For the following FORTRAN operations give the rank from fastest to slowest in terms of computer time required
  2. A.
    x*0.5
    B.
    x+0.5
    C.
    x**0.5
    D.
    sqrt(x)

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. On the Hammond machines, a single percision floating point (REAL*4) number uses how many bits of memory?
  4. A.
    4
    B.
    7
    C.
    15
    D.
    32

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. Language used to solve complex mathematical computations is termed as
  6. A.
    FORTRAN
    B.
    COBOL
    C.
    Pascal
    D.
    Ada

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. 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)
  8. A.
    1-2-3-4
    B.
    1-2-4-3
    C.
    2-1-3-4
    D.
    2-1-4-3

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. Which of the following is invalid statement in FORTRAN
  10. A.
    P + Q +
    B.
    DO 10001 = 1,5
    C.
    Dimension X (30,20)
    D.
    Continue

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. FORTRAN was developed by
  12. A.
    Apple
    B.
    Google
    C.
    IBM
    D.
    Black berry

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. Which of the following is not a valid property of a PARAMETER statement?
  14. 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

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. A FORTRAN WHERE statement:
  16. 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

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. Which of the following statements is a valid way to open the file test.data and associate it with unit 10?
  18. A.
    open(10,test.data)
    B.
    open(10,'test.data')
    C.
    open(10, file= test.data )
    D.
    open(10,file='test.data')

    View Answer

    Workspace

    Discuss Discuss in Forum