A 7.  Which of the following statements contain an error?

a.
b.
c.
d.
e.

DG 26 I<J,K,X
IF(Xt2..E0.Y-2.) GG TA 20
DG 30 J<1,LAX

DG 40 M<:20,45,11

none of the above

ki 8. Debugging is

a.
b.

tdi
d.

e.

44 9; The

the process of detecting and correcting errors in your program.

the process of translating a FORTRAN program into a machine language
program.

defining the data that a FORTRAN program can use.

the method used to collect the data that will be used by your program.
none of the above.

format specification used to print the variable TGT whose value is

44226.1 is F7.2. What kind of output will be printed for this specific

ÂŤdata field?

a.
bie
€.

d.

44226.10
XXXXXXX
kkakakkaA
TiLLILE

4 10. Diagnostic error messages provided by the compiler

result from FORTRAN syntax errors that make it impossible to translate
the program into a workable computer program.

result when the network of decisions in the program does not properly
isolate the conditions that may arise.

indicate that test data should be used to find the source of the error.
result from a mistake in the deductive reasoning process used to design
the program.

The following guestion is worth 8 points.

ll. Consider the array ALPHA dimensioned with 7 elements:

a.

b.

ALPHA: 2.7

What statement is necessary to reserve memory space in the computer
for the array ALPHA?

O D/AENWSI$A — RUNB (2) Spis,
If L<3, specify the value of each of the following array elements:
1) ALPHA(L) — — O. S
2) ALPHA(L45) - Vudefwved VE
vmch
(rund vp)

3) ALPHA(2%L-1) x — 4 4
4) ALPHA(6-L) - NoP allowed