Professional Documents
Culture Documents
FORTRAN Exam Questions
FORTRAN Exam Questions
FORTRAN Exam Questions
Terry E Snyder Jr
&
RemoteWebs.com
Computer & Web Solutions
Support, Design, and more...
| | | December 04th, 2017 10:41:01 PM
1.
What is the first line of every FORTRAN program and what does it tell the compiler?
2.
What are the Five Arithmetic Operators of FORTRAN?
3.
Do you need to use the STOP command at the end of your main line of code?
4.
5a.
5b.
Give an example of one predefined FORTRAN function.
6.
7.
What data type should you use to represent the following items:
a) number of children at school
b) a letter grade on an exam
c) average number of school days absent each year
8.
9.
10.
http://www.cfitw.com/programhelp/fortran77/fortranexam77.php 1/3
12/5/2017 FORTRAN Exam Questions
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
http://www.cfitw.com/programhelp/fortran77/fortranexam77.php 2/3
12/5/2017 FORTRAN Exam Questions
How many times does this code print?
DO I = 1,3
DO J = I,3
PRINT *, '*'
END DO
END DO
22.
Write a function that will take a number and return a number that is the original
number taken to a given exponent.
23.
Write a program that will calculate the answer to this math problem.
24. Write a program that will store 100 numbers, names, social security numbers into an array and sort the
array and print out the data. You do not have to code the sort subroutine, but this is the function call for the sort
subroutine. Bubble(num, name, ssn).
Answer Key
Web www.terryesnyderjr.com
www.remotewebs.com
Search
http://www.cfitw.com/programhelp/fortran77/fortranexam77.php 3/3