Question: are three question in one: 1. Create a calling module name and parameters for the following. (Remember that the asterisk before the parameter name indicates

are three question in one:

1. Create a calling module name and parameters for the following. (Remember that

the asterisk before the parameter name indicates a call-by-reference parameter.)

a. Process Print(Average, Count)

b. Process Calc(AgeSum, Count, Average)

c. Process Calc(Length, Width, Height, Volume)

d. Process Init( Number)

e. (Test1, Test2, Test3, Test4)

f. Process Calc(Sqrt(A), C, D)

2. Using the modules in problem 1, answer the following questions:

a. Which of the parameters are call-by-value parameters?

b. Which of the parameters are call-by-reference parameters?

c. Are there any parameters that cannot be changed by the called module? If so,

which ones? Justify your answer.

d. Which parameters, if changed by the called module, will the calling module

recognize as changed values?

e. Which parameters have more than one location in the computer; one associated

with the calling module and the other associated with the called module?

f. Which parameters have one location in the computer, that of the calling module?

g. Where is the return value placed?

h. In problem 1f., what are the two modules? Which is called first?

3. Create a data dictionary for the parameters in problem 1.

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!