Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
10SAVE=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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals, Design, and Implementation

Authors: David M. Kroenke, David J. Auer

14th edition

133876705, 9781292107639, 1292107634, 978-0133876703

More Books

Students also viewed these Databases questions

Question

Describe Table Structures in RDMSs.

Answered: 1 week ago