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:
Premises:
Responses:
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
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:
Related Questions
Q21: A method that calls itself is a
Q25: A(n)_ chart is a tool that identifies
Q29: A method can return nothing,in which case
Q34: When the method ends at the _
Q44: Explain what happens when you call a
Q46: Describe recursion.
Q47: List the four things you need to
Q49: Discuss loose coupling.
Q50: List the items that must be included
Q52: Discuss tight coupling.
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents