Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. In your own words, explain why using arguments and corresponding parameters t

ID: 3643479 • Letter: 1

Question

1. In your own words, explain why using arguments and corresponding parameters to pass data among program modules is an important feature of modular programming.


2. Given the following two program statements, identify the parameters. Explain what a parameter is.
Call DressUp(sandals, turtleneck, jeans)
Subprogram DressUp(shoes, shirt, pants)


4. Given the following two program statements, identify the arguments. Explain what an argument is.

Call DressUp(sandals, turtleneck, jeans)
Subprogram DressUp(shoes, shirt, pants)


5. Explain the difference between Parameters and Arguments. How do they relate?


6. What is displayed after code corresponding to the following pseudocode is run?

Set X = 15
Set Y = 25
Set Z = 20
Call Numbers(Z, Y, X)
Subprogram Numbers(A, B, C)
Write A +

Explanation / Answer

What is displayed after code corresponding to the following pseudocode is run? Set X = 15 Set Y = 25 Set Z = 20 Call Numbers(Z, Y, X) Subprogram Numbers(A, B, C) Write A +