Chapter 6 Vocabulary Flashcards
(30 cards)
Invoke a method
Executing a method
Module
AKA Subroutines, Procedures, Functions
Modularization
Breaking down large programs into more manageable chunks
Abstraction
Paying attention to important properties while ignoring specific details
Low level detail
Details not high in priority
High level programming languages
Allows user to use English vocabulary in which one broad statement corresponds to dozens of machine languages
Reusability
Allows for modular programs to be used in various applications
Reliability
Assures the user that the program works properly and was tested
Method Header
A header that has an identifier and any other identifying information
Method body
Contains all the statements in the method AKA-method implementation
Return Statement
Marks the end of the method
Encapsulated
Means method is condensed in flow chart then expanded in programs details
Functional cohesion
The more statements in a method that link to a job the better the chances of cohesion growing
Visible
When a method is declared and can be seen
In scope
When the variables and constants are declared within a method
Local
Exists only while the program is executing
Portable
Programs and declared variables and constants within method are reusable or able to be moved and used somewhere else
Global
Variables and constants that are recognized by entire program
Program level
Variables and constants declared outside of the method
Pass the data
Method performed than next method
Parameters
The communications from user to the program
Passed by value
A variable passed into a method
By reference
Another way of passing a parameter
Return the value
When you want to retain a value that exists in the method