• Tidak ada hasil yang ditemukan

Course: IKI81404T : Perancangan Sistem Informasi

N/A
N/A
Protected

Academic year: 2017

Membagikan "Course: IKI81404T : Perancangan Sistem Informasi"

Copied!
32
0
0

Teks penuh

(1)

Pow erPoint Course Mat erial for SCELE Graduat e Program I nform at ion Technology

Facult y of Com put er Science – UNI VERSI TY OF I NDONESI A

PERANCANGAN SISTEM INFORMASI

Session 9 Program Design

Based on System Analysis & Design 2

nd

Edition

Authors : Alan Dennis & Barbara Haley Wixom

Publisher : John Wiley & Sons

Session 9 Program Design

Session 9 Program Design

Based on System Analysis & Design 2

nd

Edition

(2)

2

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

Objectives

Objectives

Be able to create a structure chart

Be able to write a program specification

Understand the use of pseudocode

(3)

3

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

Key Definitions

Key Definitions

Program design

- creating instructions for the

programmers

The

top-down, modular approach

- begin with

the “big picture” and gradually add detail

Program design document

– all structure

charts and specifications needed by

(4)

4

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

(5)

5

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

The Structure Chart

The Structure Chart

Important program design technique

Shows all components of code in a hierarchical

format

(6)

6

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

(7)

7

(8)

8

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

Building the Structure Chart

Building the Structure Chart

Processes in the DFD tend to represent one

module on the structure chart

Afferent processes – provide inputs to system

Central processes – perform critical system

operations

Efferent processes – handle system outputs

(9)

9

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

Types of Structure Charts

Types of Structure Charts

Transaction

structure – control module calls

subordinate modules, each of which handles a

particular transaction

Many afferent processes

Few efferent processes

(10)

1 0

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

(11)

1 1

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

Types of Structure Charts

Types of Structure Charts

Transform

structure – control module calls

several subordinate modules in sequence

Each subordinate performs a step in a process

that transforms an input into an output

Few afferent processes

Many efferent processes

Lower levels of structure chart

(12)

1 2

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

(13)

1 3

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

Steps in Building the Structure Chart

Steps in Building the Structure Chart

1. Identify top level modules and decompose

them into lower levels

2. Add control connections

3. Add couples

(14)

1 4

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

(15)

1 5

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

(16)

1 6

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

(17)

1 7

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

Design Guidelines

Design Guidelines

High quality structure charts result in

programs that are modular, reusable and easy

to implement.

Measures include:

Cohesion

Coupling

(18)

1 8

(19)

1 9

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

Example of Low Cohesion

Example of Low Cohesion

(20)

2 0

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

Cohesion Decision Tree

Cohesion Decision Tree

(21)

2 1

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

Factoring

Factoring

(22)

2 2

(23)

2 3

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

Your Turn

Your Turn

What, if anything, happens to coupling when

you create modules that are more cohesive?

(24)

2 4

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

Fan-in

Fan-in

High fan-in preferred

Promotes reuse of subordinate modules

1.1

(25)

2 5

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

Quality Checklist

Quality Checklist

1. Library modules have been created where ever possible

2. The diagram has a high fan-in structure

3. Control modules have no more than 7 subordinates

4. Each module performs only one function (high cohesion)

5. Modules sparingly share information (loose coupling)

6. Data couples that are passed are actually used by the

accepting module

7. Control couples are passed from “low to high”

(26)

2 6

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

(27)

2 7

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

Program Specifications Content

Program Specifications Content

No standard approach

Include program information

Note events that trigger actions

List inputs and outputs

Include pseudocode

(28)

2 8

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

(29)

2 9

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

Pseudocode Example

Pseudocode Example

( Get CD- info m odule)

Accept ( CD_t it le) { Required}

Accept ( CD_art ist ) { Required}

Accept ( CD_cat egory) { Required}

Accept ( CD_lengt h)

(30)

3 0

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

CASE Tool View of Process Description

(31)

3 1

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

(32)

3 2

Pow erPoint Course Mat er ial for SCELE Graduat e Program I nform at ion Technology Fa cu lt y of Com put e r Scie n ce – Unive r sit y of I n don e sia

Summary

Summary

The structure chart shows all of the functional

components needed in the program at a high level.

Components of the structure chart show sequence,

selection, and iteration

Follow design guidelines regarding cohesion, coupling,

and fan-in/fan-out.

Prepare detailed specifications to programmers

Referensi

Dokumen terkait

Perbedaan ini karena pemberian perlakuan F10 yang terdiri dari kombinasi (kotoran ayam 3 kg, air kelapa 300 ml, dedak 300 g, MOL 300 ml) memberikan respon

Konsep kreatif yang akan dituangkan dalam Pengembangan media informasi dan promosi ini adalah berupa ide-ide kreatif berdasarkan data-data obyek yang diperoleh dari Perguruan

Secara umum kegiatan yang dilakukan selama mempersiapkan SPT Tahunan badan di PT ABC adalah menginput data ke SPT Tahunan badan dalam bentuk Microsoft Excel, melakukan

Hasil penelitian huungan antara sosiodemografi dan kondisi lingkungan terhadap keberadaan jentik di Desa Mangunjiwan Kecamatan Demak menunjukkan bahwa variabel yang

Pronomina persona ketiga yang berbentuk tunggal yang terdapat dalam bahasa Minangkabau di Kenagarian Ladang Panjang Kecamatan Tigo Nagari Kabupaten Pasaman

Kesimpulan penelitian ini adalah antioksidan buah merah dapat berpotensi meningkatkan jumlah sel tropoblas yang normal dan dapat menurunkan ekspresi Caspase-9 pada mencit

Berdasarkan hasil analisis data dapat disimpulkan bahwa: (1) penguasaan konsep potensial osilator harmonik sederhana bagi mahasiswa yang memperoleh pembelajaran

Penelitian ini dilakukan di kelas III SDN 92 Pekanbaru, sedangkan waktu penelitian dilaksanakan bulan April 2012.Desain penelitian ini adalah penelitian tindakan kelas