Fortran MCQ Questions

Fortran MCQ Questions

  • Satyam Jaiswal
  • 25th Nov, 2021

We are introducing here the best Fortran MCQ Questions, which are very popular & asked various times. This Quiz contains the best 25+ Fortran MCQ with Answers, which cover the important topics of Fortran. for which, you can perform best in Fortran Exams, Interviews, and Placement activities.

Fortran MCQ Questions

1) Which of the following is an invalid do statement in Fortran?

  • A. DO 88 L = 3, K, 2
  • B.DO 77 NX= 1,27
  • C.DO 71 X = 1, 10, 2
  • D.None of the above

2) Fortran stands for _______________ .

  • A. Formula Translatior
  • B.Formula Translation
  • C.Formula Transformation
  • D.None of the above

3) What is called the first statement in a Fortran code?

  • A. program statement
  • B.import statement
  • C.data statement
  • D.None of the above

4) ______ is the delimiter in a Fortran code.

  • A. Colon
  • B.Blank space
  • C.Semicolon
  • D.All of the above

5) Which is the invalid statement in FORTRAN?

  • A. DO 10001 = 1,5
  • B.Continue
  • C.P + Q +
  • D.Dimension X (30,20)

6) The FORTRAN expression E.1E6 is recognized as ______.

  • A. 5.1 x 100
  • B.6.1 x 106
  • C.5.1 x 106
  • D.6.1 x 105

7) FORTRAN was developed by which company?

  • A. Google
  • B.Microsoft
  • C.Apple
  • D.IBM

8) FORTRAN supports ___________.

  • A. Array programming
  • B.Structured programming
  • C.Modular programming
  • D.All of the above

9) ______at are the basic data types in Fortran.

  • A. Integer, Real, Character, Logical
  • B.Integer, Real, Logical
  • C.Integer, Real, Character
  • D.Integer, RAM, Character, Logical

10) Fortran was developed by _______.

  • A. James Gosling
  • B.John Backus
  • C.Guido van Rossum
  • D.Tim Berners-Lee

11) A valid variable declaration in FORTRAN is __________

  • A. real :: Celsius
  • B.real Celsius;
  • C.real :Celsius
  • D.None of the above

12) In FORTRAN, the declarations of variables can be modified using the _____ parameter.

  • A. select
  • B.make
  • C.kind
  • D.None of the above

13) When using vi, which of the following commands will delete a full line?

  • A. dr
  • B.ll
  • C.dd
  • D.dx

14) A FORTRAN WHERE statement is _________.

  • A. Returns the name of the current Subroutine or Function
  • B.Conditionally executes one or more Fortran 90 vector (array) statements
  • C.Both A and B
  • D.None of the above

15) Fortran is the first widely-used high level language developed in ________.

  • A. 1960
  • B.1959
  • C.1957
  • D.1972

16) Language used to solve complex mathematical computations is termed as __________.

  • A. FORTRAN
  • B.Pascal
  • C.COBOL
  • D.C

17) Fortran is specially used for ________.

  • A. Scientific computing
  • B.Numeric Computation
  • C.Both A and B
  • D.None of the above

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

  • A. 3
  • B.3.5
  • C.4
  • D.4.5

19) Which of the following is an “executable” statement?

  • A. ALLOCATE
  • B.DIMENSION
  • C.PARAMETER
  • D.All of the above

20) In which column does the code start in Fortran 77 fixed format?

  • A. 5
  • B.6
  • C.8
  • D.7

21) What signals a comment in Fortran 95?

  • A. An exclamation mark # anywhere on the line
  • B.An exclamation mark ! anywhere on the line
  • C.An exclamation mark & anywhere on the line
  • D.None of the above

22) A Fortran is not ______.

  • A. Source supported
  • B.Programmer supported
  • C.Case Sensitive
  • D.All of the above

23) Which of the following is not executable statement?

  • A. CLOSE
  • B.PARAMETER
  • C.ALLOCATE
  • D.All of the above

24) What are the most commonly used versions of Fortran?

  • A. Fortran 90
  • B.Fortran 77
  • C.Fortran 95

25) Fortran files are indicated by names ending in _________.

  • A. .f
  • B..F
  • C..for
  • D.All of the above

26) Fortran is case-insensitive, except for string literals.

  • A. True
  • B.False

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

  • A. 8
  • B.16
  • C.32
  • D.64

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

  • A. 8
  • B.5
  • C.4
  • D.6

29) An Identifier cannot be longer than _________ characters.

  • A. 31
  • B.32
  • C.28
  • D.26

30) Integer parameters can be used to set array dimensions.

  • A. True
  • B.False

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.