analisa sistem informasi - fathur's · pdf fileanalisa sistem informasi 1. ... 1. rancangan...

Download Analisa Sistem Informasi - Fathur's · PDF fileAnalisa Sistem Informasi 1. ... 1. Rancangan basis data/Pemodelan Data : a. CDM (Context Data Model) b. ... STUDI KASUS 1 Perhatikan

If you can't read please download the document

Upload: hoangtram

Post on 06-Feb-2018

234 views

Category:

Documents


6 download

TRANSCRIPT

  • 4/29/2011 3:52 PM Fathur'2010 1

    Analisa Sistem Informasi

    1. Analisa masalah

    2. Uraian Prosedur/Cross Functional Flowchart

    3. Analisa Keluaran

    4. Analisa Masukan

    5. Analisa Proses : DAD Sistem Berjalan

    6. Analisa Data

    7. Identifikasi Kebutuhan

  • 4/29/2011 3:52 PM Fathur'2010 2

    Perancangan Sistem Informasi

    1. Rancangan basis data/Pemodelan Data :

    a. CDM (Context Data Model)

    b. LDM (Logical Data Model)

    c. Normalisasi

    d. LDM Normal

    e. Database Schema

    f. Spesifikasi basis data

    3. Rancangan Proses/Pemodelan Proses (DAD Sistem Usulan)

    4. Spesifikasi Proses

    5. Rancangan Keluaran

    6. Rancangan Masukan

    7. Rancangan Layar

  • Berisikan pemodelan data yang tertuang dalam analisa data beserta relasi yang ada dalam bentuk ERD yang diusulkan Peter P.Chen, CDM hanya memperlihatkan item-item sebagai berikut :

    - Entiti

    - Relasi

    - Kardinalitas

    1. Rancangan Basis Data/Pemodelan Data

    1. Context Data Model (CDM)

    NMMahaiswa Isi KRSNM

    Pilih Matakuliah

    4/29/2011 3:52 PM 3Fathur'2010

  • Pemodelan Data :

    Entity Relationship Diagram (ERD)/Diagram Hubungan Entitas (DHE)

    Fungsi : - memodelkan data

    - melihat data yang akan disimpan

    Simbol-simbol :

    : - Entity Set/objek data

    - Kata benda

    Contoh : mahasiswa, pelanggan, barang, dan lain-lain

    : - Relationship/hubungan

    - Menghubungan entity set

    - Kata kerja

    contoh : kerja, ambil, isi, dan lain-lain

    Atribut : Ciri dari sebuah entity

    Cardinality : - tingkat hubungan

    - melihat tingkat hubungan suatu relationship

    1 : M (hubungan satu ke banyak)

    M : N (hubungan banyak ke banyak)

    1 : 1 (hubungan satu ke satu)

    Tidak boleh ada hubungan antar relationship

    4/29/2011 3:52 PM 4Fathur'2010

  • The Entity Relationship (ER) Model

    ER Modeling is a top-down approach to database design.

    Entity Relationship (ER) Diagram

    A detailed, logical representation of the entities, associations and data elements for an organization or

    business

    ERD represents the conceptual database as viewed by end

    user

    ERDs depict the ER models three main components:

    Entities

    Attributes

    Relationships 4/29/2011 3:52 PM 5Fathur'2010

  • Entity-Relationship (ER) Modeling.

    ER Modeling is a top-down approach to

    database design.

    Entity Relationship (ER) Diagram

    A detailed, logical representation of the entities, associations and data elements for an organization or

    business

    Notation uses three main constructs

    Data entities

    Relationships

    Attributes

    Chen Model &

    Crows Foot

    Model

    4/29/2011 3:52 PM 6Fathur'2010

  • Person, place, object, event or

    concept about which data is to

    be maintained

    named property or

    characteristic of an

    entity

    Association

    between the

    instances of one or

    more entity types

    Represents a set or collection of

    objects in the real world that

    share the same properties

    Chen Notation

    EntityName Verb Phrase AttributeName

    4/29/2011 3:52 PM 7Fathur'2010

  • Entities

    Refers to the entity set and not to a single

    entity occurrence

    Corresponds to a table and not to a row in

    the relational environment

    In both the Chen and Crows Foot models,

    an entity is represented by a rectangle

    containing the entitys name

    Entity name, a noun, is usually written in

    capital letters4/29/2011 3:52 PM 8Fathur'2010

  • Entity vs. Entity Set (Entities)

    Entity Set (Entities) --- Student

    John Smith (999-21-3415, jsmith@, John Smith, 18, 3.5)

    Students in ITCS3160

    999-21-3415, jsmith@, John Smith, 18, 3.5

    999-31-2356, jzhang@, Jie Zhang, 20, 3.0

    999-32-1234, ajain@, Anil Jain, 21, 3.8

    entity

    4/29/2011 3:52 PM 9Fathur'2010

  • Is it an entity?

    Rules:

    1. An entity must be important to the organisation.

    2. An entity must have at least one attribute.

    3. An entity must occur more than once (there must be more than one customer)

    4. Each entity occurrence (record) must be uniquely identifiable (customer id)

    4/29/2011 3:52 PM 10Fathur'2010

  • Entities

    Examples of entities: Person: EMPLOYEE, STUDENT, PATIENT

    Place: STORE, WAREHOUSE

    Object: MACHINE, PRODUCT, CAR

    Event: SALE,REGISTRATION, RENEWAL

    Concept: ACCOUNT, COURSE

    Guidelines for naming and defining entity types: An entity type name is a singular noun

    An entity type should be descriptive and specific

    An entity name should be concise

    Event entity types should be named for the result of the event, not the activity or process of the event.

    4/29/2011 3:52 PM 11Fathur'2010

  • Attributes

    Characteristics of entities

    In Chen model, attributes are represented

    by ovals and are connected to the entity

    rectangle with a line

    Each oval contains the name of the

    attribute it represents

    In the Crows Foot model, the attributes

    are simply written in the attribute box

    below the entity rectangle4/29/2011 3:52 PM 12Fathur'2010

  • 13

    Jenis Attribute

    Composite vs Simple(atomic) Attributes

    Single-valued vs Multivalued Attributes

    Stored vs Derived Attributes

    Null values

    Key Attribute

    4/29/2011 3:52 PM Fathur'2010

  • Composite vs Simple (Atomic)

    Composite attributes dapat dibagi ke subbagian yang lebih

    kecil dan merepresentasikan attribute yang lebih dasar

    Simple attributes tidak dapat dibagi

    Contoh: Alamat -> Jalan, Kota, Propinsi,KodePos, Negara;

    Jalan -> NoRumah, NamaJalan

    Single-valued vs Multivalued Attributes

    umur -> single-valued

    noTelpon -> multivalued

    Store vs Derived Attributes

    umur -> derived attribute dari tglLahir

    tglLahir -> stored attribute

    Null values

    noTelpon -> null (jika tidak punya telpon)

    4/29/2011 3:52 PM 14Fathur'2010

  • Relationship

    Manager yang mengelola suatu Department ->

    hubungan antara Employee dengan Department; manages

    Department yang mengontrol suatu Project ->

    hubungan antara entity Department dengan Project; controls

    Employee yang bekerja pada Department tertentu ->

    hubungan antara entity Employee dengan Department;

    works_for

    Cardinality Ratios untuk relationship biner menggambarkan

    jumlah instances suatu entity dapat berpartisipasi

    Contoh: works_for;

    DEPARTMENT:EMPLOYEE = 1:N

    Kemungkinan cardinality ratios: 1:1, 1:N, N:1, M:N

    4/29/2011 3:52 PM 15Fathur'2010

  • Id_B(pk)

    -dt_B

    -id_A(FK

    )

    Id_A(pk)

    - dt_A

    11AC

    B

    Id_A(fk)

    Id_B(fk)

    Id_B(pk)

    dt_B

    -Id_B(fk)

    Id_A(pk)

    - dt_A

    M1AC

    B

    Id_A(fk)

    Id_B(fk)

    Id_B(pk)

    - dt_B

    Id_A(pk)

    - dt_A

    NMAC

    B

    Id_A(fk)

    Id_B(fk)

    - Dt_C

    4/29/2011 3:52 PM 16Fathur'2010

  • KdKul (PK)

    NamaKul

    sks

    NIM (FK)

    KdKul (FK)

    Nilai

    NIM (PK)

    Nama

    Alamat

    NMMahaiswaambil

    Mata kuliah

    contoh :

    1. Dalam sistem perkuliahan, seorang mahasiswa dapat mengambil lebih

    dari satu mata kuliah, dan 1 mata kuliah dapat diambil oleh lebih 1

    mahasiswa.

    ERD-nya adalah :

    2. Dalam sistem kepegawaian, jika asumsi seorang pegawai dapat

    memegang lebih dari satu jabatan dan satu jabatan hanya dapat

    dipegang oleh satu pegawai, maka ERD-nya adalah ?

    4/29/2011 3:52 PM 17Fathur'2010

  • No. Pinjam : Tanggal :

    No. Anggota :

    Nama :

    Jumlah : .. Frekuensi : .

    Angsuran/bulan : . Bunga : ..

    STUDI KASUS 1

    Perhatikan contoh 2 formulir masukkan dalam sistem koperasi

    simpan pinjam berikut :

    Formulir Peminjaman Uang

    No. Anggota :

    Nama : ..

    Alamat : .

    Telepon : .

    Tempat Lahir : .

    Tgl Lahir :

    Formulir Anggota Koperasi

    Dalam sistem koperasi simpan pinjam tsb serorang anggota dapat meminjam

    lebih satu kali jika pinjaman sebelumnya sudah lunas. Buatkan ERD nya !

    4/29/2011 3:52 PM 18Fathur'2010

  • 1. Weak Entity (Entitas lemah)

    Terjadi bila sebuah entity tidak memiliki primary key bergantung pada strong key

    Contoh :

    Jenis-Jenis Entitas :

    - tanggal

    - jum_masuk

    - jum_keluar

    * NIP

    - Nama

    - Alamat

    M1PegawaiIsi

    Absensi

    - tglBayar

    - Jum_Angsur* NoPinj

    * NoPinj

    - tgl

    - jum

    - ferk

    NMPinjamanangsu

    r

    Angsuran

    4/29/2011 3:52 PM 19Fathur'2010

  • 2. Agregation (Agregasi)

    Terjadi bila dua buah entiti yang berlesai akan direlasikan ke entiti lain.

    Contoh ;

    Jenis-Jenis Entitas :

    * Noang

    * NoBuku

    * Kd_Denda

    - Jumlah

    * Kd_Denda

    - Jenis

    M

    * NoBuku

    - Judul* Noang

    * NoBuku

    * Noang

    - Nama

    - Alamat

    NMAnggotapinja

    m

    Buku

    Kembal

    i

    Denda

    N

    4/29/2011 3:52 PM 20Fathur'2010

  • 3. Spesialisasi dan Generalisasi (Is A)

    Terjadi bila terdapat beberpa atribut pada beberapa entiti dengan Primary Key (PK)