Fortran MCQs Quiz Multiple Choice Questions & Answers


Test Your Skills in Fortran Quiz Online

Explore the world of Fortran programming with our extensive collection of Fortran questions and answers (MCQs), available both online and in PDF format. Whether you're gearing up for exams or preparing for job interviews, our comprehensive Fortran MCQs cover a wide range of topics, including syntax, data types, control structures, arrays, functions, and more. Designed to enhance your understanding and proficiency in Fortran, our MCQ resources offer a convenient platform to assess your knowledge, identify areas for improvement, and boost your confidence. Each question is accompanied by detailed explanations, allowing you to deepen your comprehension and master key concepts. Access our online Fortran MCQs from anywhere, at any time, or download the PDF version for offline study sessions. Start your journey to Fortran proficiency and unlock new opportunities in academia and career advancement with our invaluable MCQ resources today!

Fortran Questions with Answers

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

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

3. On the Hammond machines, a single percision floating point (REAL*4) number uses how many bits of memory?

4. What are the basic datatypes in Fortran?

5. In which column does the code start in Fortran 77 fixed format?

6. What signals a comment in Fortran 95?

7. How can we continue source code from one line to the next in Fortran 95?#by an asterisk * in column 6

8. What is the purpose of a number in column 2 to 5 in Fortran 77 fixed format

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

10. When using vi, which of the following commands will delete a full line?

11. The command man ls > more will:

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

13. For the following FORTRAN operations give the rank from fastest to slowest in terms of computer time required

14. 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 ?

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

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

17. 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

18. 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)

19. After compiling the FORTRAN statement: y = c/d + a*x**2-5 Which operation is performed first by the computer?

20. 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)

21. On the Hammond machines, a single precision floating point (REAL*4) number uses how many bits of memory?

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

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

24. 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?

25. What is the first number in the following list that can not be represented with a FORTRAN REAL*8 (Double Precision) variable?

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

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

28. A FORTRAN WHERE statement:

Tags

Multiple Choice Questions and Answers on Fortran

Fortran Multiple Choice Questions and Answers

Fortran Trivia Quiz

Fortran Question and Answer PDF Online

Spreading Knowledge Across the World

USA - United States of America  Canada  United Kingdom  Australia  New Zealand  South America  Brazil  Portugal  England  Scotland  Norway  Ireland  Denmark  France  Spain  Poland  Netherland  Germany  Sweden  South Africa  Ghana  Tanzania  Nigeria  Kenya  Ethiopia  Zambia  Singapore  Malaysia  India  Pakistan  Nepal  Taiwan  Philippines  Libya  Cambodia  Hong Kong  China  UAE - Saudi Arabia  Qatar  Oman  Kuwait  Bahrain  Dubai  Israil  and many more....