Week 7 Flashcards

(27 cards)

1
Q

The flow of information can be accomplished by?

A

The scope of the variable (local or global data) or the passing of parameters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Scope of a variable?

A

Is the portion of a program in which that variable has been defined and to which it can be referenced

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Global data?

A

Data / variable that can be used by all the modules in a program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Local data?

A

Data / variable that are defined within a submodule are called variables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Side effects?

A

Is a form of cross communication of a module with other parts of a program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Formal parameter?

A

parameter that appear when a sub module is defined

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Actual parameter?

A

parameter that is passed to a submodule in a particular call

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Value parameter?

A

pass a copy of the value of a parameter form one module to another

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Reference parameter?

A

pass the memory address of a parameter from module to another

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

bulatan kosong dikasih tanda panah adalah?

A

Data parameter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Bulatan hitam dikasih tanda panah adalah?

A

Status parameter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Cohesion?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Macam-macam cohesion level dari yang paling rendah ke paling tinggi?

A
  1. Coincidental Cohesion
  2. Logical Cohesion
  3. Temporal Cohesion
  4. Procedural Cohesion
  5. Communication Cohesion
  6. Sequential Cohesion
  7. Functional Cohesion
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Coincidental Cohesion?

A

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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Logical Cohesion?

A

terjadi ketika element dari module digabungkan bersama sesuai dengan fungsinya.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Temporal Cohesion?

A

terjadi ketika element dari module digabungkan bersama karena berkaitan dengan waktu saat inisialisasi

17
Q

Procedural Cohesion?

A

terjadi ketika element dari module berkaitan karena module terjadi dijalankan sesuai dengan procedure tertentu.

18
Q

Communicational Cohesion?

A

terjadi ketika element dari module digabungkan bersama karena semuanya menjalankan data yang sama

19
Q

Sequential Cohesion?

A

terjadi ketika sebuah module terdapat element yang bergantung pada proses sebelumnya

20
Q

Functional Cohesion?

A

terjadi ketika semua elemen dari module menjalankan satu task yang spesifik

21
Q

Coupling?

A

adalah suatu pengukuran dari pertukaran informasi antara modules. Coupling yang erat menandakan ketergantungan yang besar dalam struktur dari satu module oleh module lainnya.

22
Q

Macam-macam Coupling dari yang paling ketat sampai paling longgar?

A
  1. Common Coupling
  2. External Coupling
  3. Control Coupling
  4. Stamp Coupling
  5. Data Coupling
23
Q

Data Coupling?

A

terjadi ketika sebuah module melakukan passing non-global data variable ke module lain

24
Q

Stamp Coupling?

A

terjadi ketika sebuah module melakukan passing non-global data structure ke module lain dalam bentuk parameter

25
Control Coupling?
terjadi ketika sebuah module melakukan passing ke module lain sebuah control variable dengan tujuan sebagai module kedua.
26
External Coupling?
terjadi ketika dua atau lebih module mengakses global data variable yang sama
27
Common Coupling?
terjadi ketika module mereferensikan global data structure yang sama