Sail E0 Webinar

MCQs

Total Questions : 10
Question 1. Which of the following is invalid statement in FORTRAN
  1.    P + Q +
  2.    DO 10001 = 1,5
  3.    Dimension X (30,20)
  4.    Continue
 Discuss Question
Answer: Option A. -> P + Q +




Question 2. 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)
 Discuss Question
Answer: Option C. -> x**0.5




Question 3. Language used to solve complex mathematical computations is termed as
  1.    FORTRAN
  2.    COBOL
  3.    Pascal
  4.    Ada
 Discuss Question
Answer: Option A. -> FORTRAN




Question 4. On the Hammond machines, a single percision floating point (REAL*4) number uses how many bits of memory?
  1.    4
  2.    7
  3.    15
  4.    32
 Discuss Question
Answer: Option D. -> 32




Question 5. 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)
  1.    1-2-3-4
  2.    1-2-4-3
  3.    2-1-3-4
  4.    2-1-4-3
 Discuss Question
Answer: Option D. -> 2-1-4-3




Question 6. FORTRAN was developed by
  1.    Apple
  2.    Google
  3.    IBM
  4.    Black berry
 Discuss Question
Answer: Option C. -> IBM




Question 7. Which of the following is not a valid property of a PARAMETER statement?
  1.    Can combine other parameters with FORTRAN arithmetic operators to compute the value of a new parameter
  2.    Parameters can be set anywhere in a program
  3.    Integer parameters can be used to set array dimensions
  4.    Parameters can be used as bounds on do loops
 Discuss Question
Answer: Option B. -> Parameters can be set anywhere in a program




Question 8. A FORTRAN WHERE statement:
  1.    Provides the current line number in the input file being processed
  2.    Returns the name of the current Subroutine or Function
  3.    Conditionally executes one or more Fortran 90 vector (array) statements
  4.    Provides the current cursor position on the terminal screen
 Discuss Question
Answer: Option C. -> Conditionally executes one or more Fortran 90 vector (array) statements




Question 9. 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?
  1.    0
  2.    1025
  3.    2,000,000
  4.    2,000,000,000,000
 Discuss Question
Answer: Option D. -> 2,000,000,000,000




Question 10. Which of the following statements is a valid way to open the file test.data and associate it with unit 10?
  1.    open(10,test.data)
  2.    open(10,'test.data')
  3.    open(10, file= test.data )
  4.    open(10,file='test.data')
 Discuss Question
Answer: Option D. -> open(10,file='test.data')




Latest Videos

Latest Test Papers