Week 4 Flashcards

1
Q

Keuntungan dari modular design?

A
  1. Ease of understanding: setiap module hanya menjalankan satu fungsi
  2. Reusable code: module yang digunakan dalam sebuah program, dapat digunakan juga di program lain
  3. Elimination of redundancy: penggunaan module dapat menghindari untuk pembuatan ulang dengan code yang ditulis lebih dari satu kali.
  4. Efficiency of maintenance: setiap module lebih efisien dalam hal maintenance.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Problem di bagi menjadi 3 komponen, yaitu:

A
  1. Input: list dari sumber data yang disediakan untuk problem
  2. Output: list dari output yang dibutuhkan
  3. Processing: list dari proses-proses yang dibutuhkan untuk menghasilkan output
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

System concepts ada 4?

A
  1. Master file
  2. Transaction file
  3. Audit report
  4. Error report
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Developing an algorithm?

A

– Analysing and defining a programming
problem
– Establishment of solution algorithm
– Checking the algorithm for correctness

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

Repetition control structures?

A
  1. Leading decision loop - DOWHILE
  2. Trailing decision loop - REPAT … UNTIL
  3. Counted loop - DO
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

variations of the selection structure. ada 4?

A
  1. Simple selection (Simple IF Statement)
  2. Simple selection with null false branch
    (null ELSE statement)
  3. Combined selection (combined IF statement)
  4. Nested selection (nested IF statemen)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Each solution algorithm will be consist of? ada 4

A
  1. Defining the problem
  2. The control structures required 3. The solution algorithm
  3. Desk checking
How well did you know this?
1
Not at all
2
3
4
5
Perfectly