1 System Behaviour (System Sequence Diagram & Contract) STMIK STIKOM BALI.

Slides:



Advertisements
Presentasi serupa
Menggambarkan Data: Tabel Frekuensi, Distribusi Frekuensi, dan Presentasi Grafis Chapter 2.
Advertisements

Pengujian Hipotesis untuk Satu dan Dua Varians Populasi
This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2006 Microsoft Corporation. All.
Mata Kuliah : ALGORITMA dan STRUKTUR DATA 1.
PEMOGRAMAN BERBASIS JARINGAN
Modeling Data in the Organization
MELAKUKAN INSTALASI SISTEM OPERASI WINDOWS XP
PERUBAHAN VS PERBAIKAN Center for Continuous Improvement, Today is better than yesterday, tomorrow is better than today
Program Keahlian I – SI By Antonius Rachmat C, S.Kom
Materi Analisa Perancangan System.
IT SEBAGAI ALAT UNTUK MENCIPTAKAN KEUNGGULAN KOMPETISI
DRAINASE JALAN KERETA API
Process to Process Delivery
Chapter Nine The Conditional.
Pemrograman Berorientasi Objek
PERULANGANPERULANGAN. 2 Flow of Control Flow of Control refers to the order that the computer processes the statements in a program. –Sequentially; baris.
Tugas-Tugas.
Slide 3-1 Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Revised by IB & SAM, Fasilkom UI, 2005 Exercises Apa saja komponen utama.
Review IS & Software System Concept Diah Priharsari PTIIK – Universitas Brawijaya Source: 1.Obrien & Marakas, Management Information.
Introduction to The Design & Analysis of Algorithms
1 KOMPONEN PERUMUSAN PROGRAM KOMUNIKASI 1.Assesment - Focus the target audience 2.Planning - Target audience - Key of consumer benefit - Believe of the.
Artificial Intelligence
PROSES PADA WINDOWS Pratikum SO. Introduksi Proses 1.Program yang sedang dalam keadaan dieksekusi. 2.Unit kerja terkecil yang secara individu memiliki.
1. Objek dalam kalimat aktif menjadi subjek dalam kalimat pasif
Review Operasi Matriks
Mr. Ari Nurrohmat, S.Pd Present PROCEDURE for Grade IX.
Restricting and Sorting Data
1-Sep-14 Analisis dan Perancangan Algoritma Kuliah 3 : Proof by induction E. Haodudin Nurkifli Teknik Informatika Universitas Ahmad Dahlan.
Could not load an object because it is not avaliable on this machine. Tidak dapat memuat sebuah benda karena tidak tersedia pada mesin ini.
Oracle Developer/2000. Developer/2000 Products FormsReportsGraphics.
Bilqis1 Pertemuan bilqis2 Sequences and Summations Deret (urutan) dan Penjumlahan.
JAVA CLASS Bahasa Pemrogramam BAHASA PEMROGRAMAN PERTEMUAN #9.
Risk Management.
CRASH COURSE Koreksi dalam UpTrend Mengintip area CRASH sebagai Buy Area By. Santo Vibby By. Santo Vibby -
2-Metode Penelitian Dalam Psikologi Klinis
Implementing an REA Model in a Relational Database
PENGUKURAN TEGANGAN AC
NoObjekPropertiNilai 1FrmsegitigaNameFrmsegiitiga 2FrmsegitigaCaptionLuas Segi Tiga MDI ( Multiple Document Interface ) Pendahuluan MDI singkatan dari.
MEMORY Bhakti Yudho Suprapto,MT. berfungsi untuk memuat program dan juga sebagai tempat untuk menampung hasil proses bersifat volatile yang berarti bahwa.
1 Magister Teknik Perencanaan Universitas Tarumanagara General View On Graduate Program Urban & Real Estate Development (February 2009) Dr.-Ing. Jo Santoso.
Switch. Perluasan dari bridge Arsitektur switch: – Store and forward.
2nd MEETING Assignment 4A “Exploring Grids” Assignment 4 B “Redesign Grids” Create several alternatives grid sysytem using the provided elements: (min.
Slide 1 QUIS Langkah pertama caranya Buat di slide pertama judul Slide kedua soal Slide ketiga waktu habis Slide keempat jawaban yang benar Slide kelima.
LOGO Manajemen Data Berdasarkan Komputer dengan Sistem Database.
AUSTRALIA INDONESIA PARTNERSHIP FOR EMERGING INFECTIOUS DISEASES Excel tingkat menengah – Bagan (lanjutan) Location Date Name.
PEMROGRAMAN PPBD (UAS) SEBELUM MELANGKAH KE TAHAP SELANJUTNYA BERDOA DULU BIAR LANCAR DAN GA EROR
Linked List dan Double Linked List
ACCURATE MINI KASUS.
Definisi VLAN Pemisahan jaringan secara logis yang dilakukan pada switch Pada tradisional switch, dalam satu switch menunjukkan satu segmentasi LAN.
Amortization & Depresiasi
SMPN 2 DEMAK GRADE 7 SEMESTER 2
MANPRO-M13: MUTU PROYEK SISTEM
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Fungsi dan Protokol Layer Aplikasi Network Fundamentals – Chapter 3.
SISTEM INFORMASI AKUNTANSI
1. 2 Work is defined to be the product of the magnitude of the displacement times the component of the force parallel to the displacement W = F ║ d F.
Lecture 8 Set and Dictionary Sandy Ardianto & Erick Pranata © Sekolah Tinggi Teknik Surabaya 1.
© 2009 Fakultas Teknologi Informasi Universitas Budi Luhur Jl. Ciledug Raya Petukangan Utara Jakarta Selatan Website:
Romans 1: Romans 1:16-17 New Living Translation (NLT) 16 For I am not ashamed of this Good News about Christ. It is the power of God at work, saving.
Via Octaria Malau Transfer (Internal Transfers) Transfer (Transfers Internal) Select the account from which funds are to be transferred FROM and then select.
1 PENGANTAR APLIKASI KOMPUTER Haryoso Wicaksono, S.Si. MICROSOFT WINDOWS #2.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Pengalamatan Jaringan – IPv4 Dosen Pengampu: Resi Utami Putri, S.Kom.,
TCP, THREE-WAY HANDSHAKE, WINDOW
Menu Standard Competence Based Competence.
Retrosintetik dan Strategi Sintesis
Web Teknologi I (MKB511C) Minggu 12 Page 1 MINGGU 12 Web Teknologi I (MKB511C) Pokok Bahasan: – Text processing perl-compatible regular expression/PCRE.
PT. GAKA KARYA ENGINEERING
Slide 1 Chapter 1: Introduction to Systems Analysis and Design Alan Dennis, Barbara Wixom, and David Tegarden John Wiley & Sons, Inc.
PEMERINTAH KOTA PONTIANAK DINAS PENDIDIKAN PEMERINTAH KOTA PONTIANAK DINAS PENDIDIKAN Jl. Letjen. Sutoyo Pontianak, Telp. (0561) , Website:
MICROSOFT EXCEL 2000 Bagian #4 GRAPHICS : OBJECT & CHART.
WISNU HENDRO MARTONO,M.Sc
Transcript presentasi:

1 System Behaviour (System Sequence Diagram & Contract) STMIK STIKOM BALI

Referensi Larman Chapter 13: System Sequence Diagrams Chapter 14: Contracts Chapter 32: System Behaviour 2

System Behaviour (perilaku) Pada fase analisis, sangatlah perlu mendefinisikan APA yang harus dilakukan oleh sistem. system didefinisikan sebagai “black box” BAGAIMANA sistem melaksanakan tanggung jawabnya tidak didefinisikan; hal ini dilakukan pada fase design logika. System behaviour (perilaku sistem) didokumentasikan dengan: System sequence diagrams Contracts 3

System Sequence Diagrams system sequence diagram mengilustrasikan events dari actor ke system. Pembuatan system sequence diagrams tergantung pada use cases. use cases mendeskripsikan bagaimana actors berinteraksi dengan software system. Selama interaksi ini, seorang actor menciptakan events terhadap system, meminta sebuah operasi (operation). 4

System Events Sebuah system event adalah sebuah input external yang diciptakan oleh actor terhadap system. Sebuah event menginisiasi operasi yang bersesuaian. Sebuah system operation adalah sebuah operasi dari sistem yang dieksekusi dalam rangka merespon sebuah system event. Awali nama sebuah system event dengan kata kerja (verb )e.g. add.., enter…, make… 5

Review: HVR Case Study Recall Happy Video Rental (HVR) Case Study. Use Case Diagram : 6

HVR Conceptual Model 7

High Level Use Case 8 Use Case 1 Add New Video Item ActorsClerk TypePrimary Descrip tion This use case begins when the video store acquires a new video item. The details about the video item are recorded.

Use Case 1 Expanded Use Case 9 Use Case 1Add New Video Item Goal in ContextTo record that a new video item has been acquired by the store. Primary ActorClerk TriggerA new video item is acquired Typical Course of Events Actor ActionSystem Response 1. This use case begins when the clerk wants to record that a new video item has been acquired by the store.

Use Case 1 Add New Video Item (continued) 10 Typical Course of Events Actor ActionSystem Response 2. The clerk checks records the media type, the title of the video and the producer. 3. The system checks if this is the first copy of the video item. 4. The clerk records the date acquired of the video item 5. The system generates a new barcode number for the video item and adds the number of copies for the video specification by 1. Alternative Course of Events Line 2: if the video item is the first copy, record the media type, title, producer and date released for the video specification.

Use Case 1 System Sequence Diagram 11 system event The clerk checks records the media type, the title of the video and the producer. if the video item is the first copy, record the media type, title, producer and date released for the video specification. The clerk records the date acquired of the video item SSD for Use Case 1: Add New Video Item From the Expanded Use Case

Contracts Contracts mendeskripsikan efek dari operasi di dalam system. Contracts dibuat selama fase analisis di dalam sebuah siklus pengembangan perangkat lunak. Contracts mendefinisikan perilaku sistem dalam hal perubahan status sistem apa yang terjadi ketika sebuah operasi dilibatkan. Contract menekankan terhadap apa yang akan terjadi, dibandingkan dengan bagaimana suatu hal bisa diraih. 12

Contracts 13

Menulis Contracts Bagaimana membuat contracts untuk setiap use case Identifikasi system operations dari system sequence diagrams Untuk setiap system operation, buatlah sebuah contract Deskripsikan tujuan dari operasi. Deskripsikan perubahan state dari objects di dalam conceptual model dengan mendeklarasikan Pembuatan dan penghapusan Instance Modifikasi Attribute Pembentukan dan penghancuran Associations 14

Contracts: Format 15 SectionDescription Namethe name of the operation, and parameters ResponsibilitiesAn informal description of the responsibilities this operation must fulfill Cross ReferencesReference numbers, use cases, etc. NotesDesign notes, algorithms ExceptionsExceptional cases Pre-conditionsAssumptions about the state of the system before execution of the operation Post-conditionsThe state of the system after completion of the operation.

Contracts: Example Use Case 1 memiliki SSD seperti disamping: Akan terdapat 3 contracts untuk Use Case 1. 16

Contracts: Use Case 1 17 NameFindVideoSpecification(type, title, producer) ResponsibilitiesTo locate the Video Specification with the given type, title and producer Pre-conditionsThe Media object must exist. The Video Specification object must exist. Post-conditionsThe Media object was found based on the type. The Video Specification object was found based on the title and producer.

18 NameAddVideoSpecification(type, title, producer, dateReleased) ResponsibilitiesTo create a new Video Specification Pre-conditionsThe Media object must exist. The Video Specification object must not exist. Post-conditionsThe Media object was found based on the type. A Video Specification object was created (instance creation). The attributes title, producer and dateReleased were set (attribute modification) The Video Specification object was linked to the Media object (association formed).

19 NameAddVideoItem(dateAcquired) ResponsibilitiesTo create a new Video Item Pre-conditionsThe Video Specification object must exist. Post-conditionsA Video Item object was created (instance creation). The attribute dateAcquired was set. (attribute modification) The attribute barcode was generated by the system and set (attribute modification). The Video Item object was linked to the Video Specification object (association formed). VideoSpecification’s numberOfCopies attribute increased by 1. The Video Item object was linked to the VideoStore object.

Analysis Phase Artifacts Use Case Diagram High level use case Expanded use case Conceptual model System Sequence Diagram Contracts All these diagrams examine the: system structure system responsibilities 20

Exercise Gambarlah System Sequence Diagrams dan tulislah Contracts untuk Use Case 2: Register Member Anda harus mengacu ke: Expanded Use Case Conceptual Model 21

Use Case 2 Expanded Use Case 22 Use Case 2Register Member Goal in ContextTo record that a customer has registered as a member. Primary Actor Secondary Actor Clerk Customer TriggerA Customer wants to register Typical Course of Events Actor ActionSystem Response 1. This use case begins when a customer wants to register as a member of the video store.

Use Case 2 (continued) 23 Actor ActionSystem Response 2. The clerk takes the deposit payment and records the customer’s name, phone and address. 3. The system calculates the membership expiry date based on the current date and generates a new memberId. 4. The customer receives a membership card. Alternative Course of Events 2a: if the customer does not have enough money to pay the deposit, cancel the use case. 2b: if the customer is a student, take the deposit and record the customer’s college name and student Id Number along with the customer’s name, phone and address. Also record the discountRate for the student.

Use Case 2: Register Member SSD 24