Sending a copy of data to a program module is called _______ A. passing a value B. making a reference C. recursion D. setting a condition

[amp_mcq option1=”passing a value” option2=”making a reference” option3=”recursion” option4=”setting a condition” correct=”option1″]

The correct answer is A. Passing a value.

Passing a value is the process of sending a copy of data to a program module. The data can be a variable, an expression, or an object. When a value is passed to a module, the module can use the value to perform its task.

The other options are incorrect because:

  • Making a reference is the process of creating a link between two variables. The link allows the variables to share the same data.
  • Recursion is the process of calling a function from within itself.
  • Setting a condition is the process of specifying a condition that must be met before a certain action is taken.