• 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!
43
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 5 Data Modeling

Based on System Analysis & Design 2

nd

Edition

Authors : Alan Dennis & Barbara Haley Wixom

Publisher : John Wiley & Sons

Session 5 Data Modeling

Session 5 Data Modeling

Based on System Analysis & Design 2

nd

Edition

(2)

Objectives

Objectives

Understand the rules and style guidelines for

creating entity relationship diagrams.

Be able to create an entity relationship

diagram.

Become familiar with the data dictionary and

metadata.

(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

Data model

A formal way of representing the data that are used

and created by a business system

Shows the people, places and things about which

data is captured and the relationships among them.

Logical data model

(4)

Key Definition

Key Definition

Physical data model

shows how the data will actually be stored in

databases or files.

Normalization

is the process analysts use to

validate data models.

(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

(6)

What Is an ERD?

What Is an ERD?

A picture showing the information created,

stored, and used by a business system.

Entities generally represent similar kinds of

information

Lines drawn between entities show

relationships among the data

(7)

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

Using the ERD to Show Business Rules

Using the ERD to Show Business Rules

Business rules are constraints that are

followed when the system is in operation.

ERD symbols can show when one instance of

an entity must exist for an instance of another

to exist

(8)

An ERD Example

(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

ERD Elements

(10)

Entity

Entity

A person, place, event, or thing about which

data is collected

Must be multiple occurrences to be an entity

Example: If a firm has only one warehouse, the

warehouse is not an entity. However, if the firm has

several warehouses, the warehouse could be an

(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

Entities and Instances

(12)

Case Repository Entry for Patient Entity

(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

Attributes

Attributes

Information captured about an entity

Only those used by the organization should be

included in the model

Attribute names are nouns

(14)

Identifiers

Identifiers

One or more attributes can serve as the entity

identifier

, uniquely identifying each entity

instance

Concatenated identifier

consists of several

attributes

An identifier may be ‘artificial,’ such as creating

an ID number

(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

Identifier Types

(16)

Case Repository Entry for Patient_SSN

Attribute

(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

Relationships

Relationships

Associations between entities

The first entity in the relationship is the

parent

entity; the second entity in the relationship is

the

child

entity

(18)

Cardinality

Cardinality

Cardinality

refers to the number of times instances in

one entity can be related to instances in

another entity

One instance in an entity refers to one and only

one instance in the related entity

(1:1)

One instance in an entity refers to one or more

instances in the related entity

(1:N)

(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

Modality

Modality

Modality

Refers to whether or not an instance of a

child entity can exist without a related

instance in the parent entity

Not Null

means that an instance in the related

entity must exist for an instance in another entity

to be valid

(20)

Case Repository Entry for a Relationship

(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

The Data Dictionary and Metadata

The Data Dictionary and Metadata

Metadata

is information stored about

components of the data model

Metadata is stored in the data dictionary so it

can be shared by developers and users

throughout the SDLC

A complete, shareable data dictionary helps

improve the quality of the system under

(22)

CREATING AN

(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

ERD Basics

ERD Basics

Drawing the ERD is an iterative process

of trial and revision

(24)

Steps in Building ERDs

Steps in Building ERDs

Identify the entities

Add appropriate attributes for each entity

(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

Identify the Entities

Identify the Entities

Identify major categories of information

If available, check the process models for data

stores, external entities, and data flows

Check the major inputs and outputs from the use

cases

(26)

Add Appropriate Attributes

Add Appropriate Attributes

Identify attributes of the entity that are

relevant to the system under

development

Check the process model repository entries

for details on data flows and data stores

Check the data requirements of the

requirements definition

(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

Draw the Relationships

Draw the Relationships

Start with an entity and identify all entities

with which it shares relationships

Describe the relationship with the appropriate

verb phrase

Determine the cardinality and modality by

discussing the business rules with

(28)

ERD Building Tips

ERD Building Tips

Data stores of the DFD should

correspond to entities

Only include entities with more than one

instance of information

(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

Advanced Syntax

Advanced Syntax

Independent Entities

Can exist without the help of another entity

Identifiers created from the entity’s own attributes

Attributes from other entities are not needed to

uniquely identify instances of these entities

Non-identifying relationships

(30)

Advanced Syntax

Advanced Syntax

Dependent Entities

A child entity uses attributes from the parent entity

as part or all of its identifiers

Also called

associative

entity

Identifying relationship

(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

Advanced Syntax

(32)

Advanced Syntax

Advanced Syntax

Intersection Entities

A new entity created to store information

about two entities sharing an M:N

relationship

Remove the M:N relationship between two entities

and insert new entity between them

Create two 1:N relationships: original entities are

parents to the new child intersection entity

(33)

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

Advanced Syntax

(34)
(35)

3 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

Design Guidelines

Design Guidelines

Best practices rather than rules

Entities should have many occurrences

Avoid unnecessary attributes

Clearly label all components

Apply correct cardinality and modality

Break attributes into lowest level needed

(36)

Normalization

Normalization

Technique used to validate data models

Series of rules applied to logical data model to

improve its organization

(37)

3 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

Normalization Steps

(38)

Unnormalized Entity

Unnormalized Entity

(39)

3 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

First Normal Form (1NF)

First Normal Form (1NF)

(40)

Second Normal Form (2NF)

Second Normal Form (2NF)

If an entity has a concatenated identifier, look for

(41)

4 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

Third Normal Form (3NF)

Third Normal Form (3NF)

(42)

Balancing ERDs with DFDs

Balancing ERDs with DFDs

All analysis activities are interrelated

Process models contain two data components

Data flows and data stores

The DFD data components need to balance the ERD’s

data stores (entities) and data elements (attributes)

Many CASE tools provide features to check for

imbalance

(43)

4 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

Summary

Summary

The ERD is the most common technique for

drawing data models. The building blocks of

the ERD are:

Entities

describe people, places, or things

Attributes

capture information about the entity

Relationships

associate data across entities

Intersection, dependent, and independent

entities must be recognized.

Referensi

Dokumen terkait

hproeut i dibdsbo sia FqiiFli

PENCEMIANCAN SISTEM INTQRM{ST I\4{NAJf, MEIIi.. PRAI$SIA{ JURUSANT TEKNIX

Pada waktu semester awal mahasiswa baru mendaftar pada SIA, data user (mahasiswa) yang bersangkutan akan tersimpan pada database SIA. Selanjutnya admin pada sistem

Based on System Analysis & Design 2 nd Edition Authors : Alan Dennis & Barbara Haley Wixom?. Publisher : John Wiley

There are a number of methods for optimizing data access speed and data storage efficiency, though the designers may have to make tradeoffs between

DIMENSI Sangat Memuaska n (A) Memuaska n (B) Batas (C) Kurang Memuaska n (D) Di bawah standar d (E) SKO R ketepatan pembuatan aplikasi sederhana dengan Analisa

P O L I T E K N I K N E G E R I T A N A H L A U T M engelola Data User Memasukkan Data Mengubah Data Menghapus Data Melihat Data <<extend>>

ACC CONTROL Voucher biaya PR Tagihan Pengecekan harga dengan rekapan biaya maintenance kendaraan D B M a in te n a n c e Sesuai T Y Input atau update data, dan cetak memo