Fortran MCQ

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

Answer

Correct Answer: 6.0

Note: This Question is unanswered, help us to find answer for this one

Which of the following statements is a valid way to open the file test.data and associate it with unit 10?

Answer

Correct Answer: Open(10,file='test.data')

Note: This Question is unanswered, help us to find answer for this one

A FORTRAN WHERE statement:

Answer

Correct Answer: Conditionally executes one or more Fortran 90 vector (array) statements

Note: This Question is unanswered, help us to find answer for this one

A real number established with "selected_real_kind(6,30)" uses how many bits?

Answer

Correct Answer: 32

Note: This Question is unanswered, help us to find answer for this one

Which of the following is an executable statement ( takes action when "a.out" is executeed)?

Answer

Correct Answer: Close

Note: This Question is unanswered, help us to find answer for this one

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)

Answer

Correct Answer: Not determined due to a FORTRAN syntax error

Note: This Question is unanswered, help us to find answer for this one

Which of the following is not a valid property of a PARAMETER statement?

Answer

Correct Answer: Parameters can be set anywhere in a program

Note: This Question is unanswered, help us to find answer for this one

The statement "read(10,end=100) mm " will:

Answer

Correct Answer: Branch to the statement with label 100 when the end of the file is reached on unit 10

Note: This Question is unanswered, help us to find answer for this one

In a FORTRAN program I have set x=1.5,i=3, and j=2. What is the value of y if:

Answer

Correct Answer: 4.0

Note: This Question is unanswered, help us to find answer for this one

A number stored in Double Precision Floating Point (REAL*8) format can have at most approximately how many decimal digits of precision?

Answer

Correct Answer: 15

Note: This Question is unanswered, help us to find answer for this one