Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
26 Cards in this Set
- Front
- Back
Modules
|
Small programs units that are combined to make programs
|
|
Functions
|
Are modules
|
|
Functional decomposition
|
The act of reducing a large program into more manageable methods
|
|
Method header
|
The first line of a method
|
|
Method body
|
Contains all statements in a method
|
|
Method return statement
|
Marks the end of the method and identifies the point at which control returns to the calling method
|
|
Calling method
|
Invokes a statement, causing it to execute
|
|
Invoking a method
|
Calls a statement, causing it to execute
|
|
Encapsulation
|
Features of methods that provides for their instructions and data to be contained in the method
|
|
Stack
|
Holds the memory addresses to which method calls should return
|
|
Local
|
Describes data items that are usable only within the method in which they are declared
|
|
In scope
|
Describes items that are visible in a method
|
|
Out of scope
|
Describes data items that are no longer visible to a method
|
|
Global
|
Variables and constants are known to an entire class.
|
|
Arguments to a method
|
The data items sent to a method
|
|
Parameters
|
The data items received by methods
|
|
Passed by value
|
Describes parameters received by a method as a copy.
|
|
Implementation hiding
|
A principle of object-oriented programming that describes the encapsulation of method details within a class
|
|
Parameter list
|
The list of parameters in a method header
|
|
Signature
|
A methods name and parameter list
|
|
Return type
|
The data type for any value that is return
|
|
Void method
|
Returns no value
|
|
Method declaration
|
Composed of the methods return type and signature
|
|
Overloading
|
Involves supplying diverse meanings for a single identifier.
|
|
Overload a method
|
to write multiple methods with a shared name but different parameter lists
|
|
Polymorphism
|
The ability of a method to act appropriately according to the context
|