Question: Do the Following: Consider the following FORTRAN code SUBROUTINE SORT ( A , N ) INTEGER A ( 1 0 0 ) , N ,

Do the Following:
Consider the following FORTRAN code
SUBROUTINE SORT (A,N)
INTEGER A (100), N, I, J, SAVE, M
C ROUTINE SORTS ARRAY A INTO DESCENDING ORDER
IF (N.LT.2) GO TO 40
DO 30I=2,N
M=I*1
DO 20J=1,M
IF (A(I).GT.A(J)) GO TO 10
GO TO 20
10 SAVE =A(I)
A(I)=A(J)
A(J)= SAVE
20 CONTINUE
30 CONTINUE
40 RETURN
END
Where it requires about 11.6 mental size to program such code(potential volume). You are requested to do the following:
A. Calculate the code length.
B. Calculate the code Vocabulary.
C. Calculate the code Value.
D. Calculate the code difficulty
E. Calculate program level
F. Estimate the required time for a programmer to code it.
 Do the Following: Consider the following FORTRAN code SUBROUTINE SORT (A,N)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!