Solved

Match Each Term with a Statement Below

Question 42

Matching

Match each term with a statement below.

Premises:
A copy of a variable's value is sent to the method and stored in a new memory location accessible to the method
Occurs when methods have access to the same globally defined variables
The ability of a method to act appropriately according to the context
Occurs when a copy of data that must be shared is passed from one method to another
A new memory location is reserved and named
The arguments sent to a method in a method call
When the method receives the actual memory address of the array and has access to the actual values in the array elements
A program module that contains a series of statements that carry out a task
The declaration or definition
When all the operations in a method contribute to the performance of a single task
Responses:
functionally cohesive
polymorphism
redeclared
method
passed by value
method header
actual parameters
tight coupling
loose coupling
passed by reference

Correct Answer:

A copy of a variable's value is sent to the method and stored in a new memory location accessible to the method
Occurs when methods have access to the same globally defined variables
The ability of a method to act appropriately according to the context
Occurs when a copy of data that must be shared is passed from one method to another
A new memory location is reserved and named
The arguments sent to a method in a method call
When the method receives the actual memory address of the array and has access to the actual values in the array elements
A program module that contains a series of statements that carry out a task
The declaration or definition
When all the operations in a method contribute to the performance of a single task
Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents