Week 7 Flashcards
The flow of information can be accomplished by?
The scope of the variable (local or global data) or the passing of parameters
Scope of a variable?
Is the portion of a program in which that variable has been defined and to which it can be referenced
Global data?
Data / variable that can be used by all the modules in a program
Local data?
Data / variable that are defined within a submodule are called variables
Side effects?
Is a form of cross communication of a module with other parts of a program
Formal parameter?
parameter that appear when a sub module is defined
Actual parameter?
parameter that is passed to a submodule in a particular call
Value parameter?
pass a copy of the value of a parameter form one module to another
Reference parameter?
pass the memory address of a parameter from module to another
bulatan kosong dikasih tanda panah adalah?
Data parameter
Bulatan hitam dikasih tanda panah adalah?
Status parameter
Cohesion?
is a measure of the internal strength of a module; it indicates how closely the elements or statements of a module are associated with each other
Macam-macam cohesion level dari yang paling rendah ke paling tinggi?
- Coincidental Cohesion
- Logical Cohesion
- Temporal Cohesion
- Procedural Cohesion
- Communication Cohesion
- Sequential Cohesion
- Functional Cohesion
Coincidental Cohesion?
terjadi ketika elements dikumpulkan menjadi sebuah module karena dijalankan secara bersamaan. Tidak ada keterkaitan ada satu element dengan element lainnya.
Contoh: File_processing read employee record set page_count to one END
Logical Cohesion?
terjadi ketika element dari module digabungkan bersama sesuai dengan fungsinya.