Chapter 6 Questions Flashcards
(14 cards)
The process of breaking down a large program into manageable modules is——–.
MODULARIZATION
Programmers refer to——as subroutines, procedures, functions, or methods.
MODULES
A methods——AKA-Method Declaration includes the method identifier and possibly other necessary identifying information.
HEADER
A methods——-statement marks the end of the method and identifies the point which control returns to the calling program or method.
RETURN
The more the statements in a method contribute to the same job, the greater the functional——-of the method.
COHESION
Programmers say the data items are——, or “can be seen”, only within the method or program in which they are declared.
VISIBLE
If you declare variables and constants within the methods that use them, the methods are more——; that is they can be easily transported or reused in other programs.
PORTABLE
——–variables and constants are those that are known to the entire program.
DECLARED
If a method could not receive a communications called———, then you would have to write an infinite number of methods to cover every possible situation.
PARAMETERS
When you call a method using a value within its parentheses the value is a(n)——–to the method.
ARGUMENT
A variable passed into a method is paused by——-; that is, a copy of its value I sent to the method and stored in a new memory location accessible to the method.
VALUE
You can pass multiple arguments from a calling method to a called method by listing the arguments within the method call and separating them with——.
COMMAS
A comma separates each parameter and each requires it’s own declared—-, as well as it’s identifier.
TYPE
When you retain a value that exists in a method you can——the value from the method.
RETURN