©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 1 Software Requirements l Deskripsi dan spesifikasi sistem.

Slides:



Advertisements
Presentasi serupa
Tahapan information engineering
Advertisements

Ian Sommerville Software Engineering
Software Requirements
TIB15 - ANALISIS & DESAIN BERORIENTASI OBJEK
Pemrograman Sistem Basis Data
Software Requirements
Managing Software Requirements (manajemen kebutuhan perangkat lunak)
Analisis Kebutuhan PERANGKAT LUNAK
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 1 Slide 1 Review Software Engineering.
Perancangan Database Pertemuan 07 s.d 08
KONSEP STRATEGI BISNIS DAN IMPLIKASINYA PADA STRATEGI IS/IT
WaterfallPrototyping RAD Incremental Prototyping Pendekatan SDLC.
BLACK BOX TESTING.
ANALISA PERANCANGAN SISTEM
Testing Implementasi Sistem Oleh :Rifiana Arief, SKom, MMSI
Oleh: SARIPUDIN Jurusan SISTEM INFORMASI
Rekayasa Perangkat Lunak (Software Engineering)
1 Pertemuan 09 Kebutuhan Sistem Matakuliah: T0234 / Sistem Informasi Geografis Tahun: 2005 Versi: 01/revisi 1.
1 Pertemuan 12 Pengkodean & Implementasi Matakuliah: T0234 / Sistem Informasi Geografis Tahun: 2005 Versi: 01/revisi 1.
ANALYSIS CONCEPTS & PRINCIPLES. What Are the Real Problems? the customer has only a vague idea of what is required the developer is willing to proceed.
1 Pertemuan 21 Function Matakuliah: M0086/Analisis dan Perancangan Sistem Informasi Tahun: 2005 Versi: 5.
Pertemuan <<1>> Pengantar tentang database(01)
Summary Materi RPL Mid Semester
PERTEMUAN KE-6 UNIFIED MODELLING LANGUAGE (UML) (Part 2)
1 Pertemuan 5 Komunikasi antar Proses / Interprocess Communication (IPC) Matakuliah: T0316/sistem Operasi Tahun: 2005 Versi/Revisi: 5 OFFCLASS01.
1 Pertemuan 11 Function dari System Matakuliah: M0446/Analisa dan Perancangan Sistem Informasi Tahun: 2005 Versi: 0/0.
9.3 Geometric Sequences and Series. Objective To find specified terms and the common ratio in a geometric sequence. To find the partial sum of a geometric.
1 INTRODUCTION Pertemuan 1 s.d 2 Matakuliah: A0554/Analisa dan Perancangan Sistem Informasi Akuntansi Tahun: 2006.
Chapter 10 – The Design of Feedback Control Systems PID Compensation Networks.
OPERATOR DAN FUNGSI MATEMATIK. Operator  Assignment operator Assignment operator (operator pengerjaan) menggunakan simbol titik dua diikuti oleh tanda.
Sistem Temu-Balik Informasi INFORMATION RETRIEVAL SYSTEMS (IRS)
Model Proses Perangkat Lunak
Software Engineering Process
Ika Novita Dewi Rekayasa Sistem Ika Novita Dewi
Functional Requirements vs Non Functional Requirements
Pert. 16. Menyimak lingkungan IS/IT saat ini
Notasi Object Oriented System
Rekayasa Perangkat Lunak Class Diagram
Rekayasa Perangkat Lunak
SE2423 Rekayasa Perangkat Lunak
REKAYASA PERANGKAT LUNAK (IF 1483)
Pertemuan #3 Data Modeling Using the Entity-Relationship Model
Rekayasa Perangkat Lunak Pendahuluan
IMPLEMENTASI FMS.
CLASS DIAGRAM.
Dasar-Dasar Pemrograman
DESIGNING AND EVALUATING MANAGEMENT CONTROL SYSTEMS
Software Engineering Rekayasa Perangkat Lunak
Pertemuan <<18>> << Penemuan Fakta(01) >>
Pemrograman Dasar TinyOS Menggunakan nesC
5 Kebutuhan Software By : Andi Latifa Nabone.
Dasar-Dasar Sistem Informasi
Rekayasa Perangkat Lunak Part-5
Sistem Temu-Balik Informasi INFORMATION RETRIEVAL SYSTEMS (IRS)
Master data Management
Pertemuan 4 CLASS DIAGRAM.
Database User Account.
How to Set Up AT&T on MS Outlook ATT is a multinational company headquartered in Texas. ATT services are used by many people widely across.
How You Can Make Your Fleet Insurance London Claims Letter.
How to Pitch an Event
Don’t Forget to Avail the Timely Offers with Uber
Dokumen Kebutuhan Perangkat Lunak
Sistem Pendukung Keputusan Roni Andarsyah, ST., M.Kom Lecture Series.
REQUIREMENT ENGINEERING
HughesNet was founded in 1971 and it is headquartered in Germantown, Maryland. It is a provider of satellite-based communications services. Hughesnet.
In this article, you can learn about how to synchronize AOL Mail with third-party applications like Gmail, Outlook, and Window Live Mail, Thunderbird.
Website: Website Technologies.
Rank Your Ideas The next step is to rank and compare your three high- potential ideas. Rank each one on the three qualities of feasibility, persuasion,
BY : LUTFIANI RATNA DEWANTI LILIS SINARSIH Action Research.
Requirements Engineering
Transcript presentasi:

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 1 Software Requirements l Deskripsi dan spesifikasi sistem

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 2 Objectives l Menjelaskan konsep kebutuhan user dan kebutuhan sistem l Mendeskripsikan kebutuhan fungsional dan non- fungsional l Menjelaskan dua teknik dalam mendeskripsikan kebutuhan sistem l Menjelaskan bagaimana kebutuhan software diorganisasikan dalam dokumen kebutuhan

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 3 Topics covered l Functional and non-functional requirements l User requirements l System requirements l The software requirements document

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 4 Requirements engineering l Proses penentuan service yang dibutuhkan customer dalam sebuah sistem dan penentuan batasan lingkungan pengoperasian dan pengembangan sistem l The requirements themselves are the descriptions of the system services and constraints that are generated during the requirements engineering process

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 5 What is a requirement? l Cakupan definisi requirement cukup luas, dapat berupa pernyataan abstrak secara umum dari layanan atau batasan sistem, dapat juga berupa spesifikasi fungsional matematis yang lebih rinci l Tidak dapat dipungkiri bahwa requirements memiliki fungsi ganda : Sebagai dasar untuk penawaran kontrak – itulah sebabnya requirement haruslah diintepretasikan secara terbuka Sebagai dasar untuk pembuatan kontrak itu sendiri – itulah sebabnya requirement harus didefinisikan secara detail Kedua pernyataan diatas dapat disebut sebagai requirements

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 6 Requirements abstraction (Davis)

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 7 Types of requirement l User requirements Statements in natural language plus diagrams of the services the system provides and its operational constraints. Written for customers l System requirements A structured document setting out detailed descriptions of the system services. Written as a contract between client and contractor l Software specification A detailed software description which can serve as a basis for a design or implementation. Written for developers

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 8 Definitions and specifications

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 9 Requirements readers

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 10 Functional and non-functional requirements l Functional requirements Pernyataan mengenai kebutuhan layanan sistem yang harus disediakan, bagamana sistem akan bereaksi terhadap masukan tertentu dan bagaimana mestinya sistem beraksi pada situasi tertentu. l Non-functional requirements Batasan dari layanan atau fungsi yang ditawarkan sistem, misalnya batasan waktu, btasan proses pengembangan, standard dan lain-lain l Domain requirements Requirements yang berasal dari domain aplikasi sistem yang mencerminkan karakteristik domain

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 11 Functional requirements l Menjelaskan fungsionalitas atau layanan yang disediakan sistem l Bergantung pada tipe software, keinginan users dan tipe sistem dimana software tersebut digunakan l Functional user requirements bisa jadi pernyataan secara umum mengenai bagaimana sistem akan bekerja akan tetapi functional system requirements harus mampu mendifinisikan layanan sistem secara lebih rinci.

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 12 Examples of functional requirements l The user shall be able to search either all of the initial set of databases or select a subset from it. l The system shall provide appropriate viewers for the user to read documents in the document store. l Every order shall be allocated a unique identifier (ORDER_ID) which the user shall be able to copy to the account’s permanent storage area.

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 13 Requirements imprecision (ketidak sesuaian penentuan requirement) l Masalah akan muncul saat requirements tidak dinyatakan dengan tepat l Requirements yang Ambiguous kemungkinan akan diinterpretasikan dengan sudut pandang yang berbeda oleh developers dan user l Consider the term ‘appropriate viewers’ User intention - special purpose viewer for each different document type Developer interpretation - Provide a text viewer that shows the contents of the document

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 14 Requirements completeness and consistency l Pada prinsipnya requirements haruslah lengkap dan konsisten l Lengkap dalam arti : They should include descriptions of all facilities required l Konsisten dalam arti : There should be no conflicts or contradictions in the descriptions of the system facilities l Namun pada prakteknya, sangatlah sulit menghasilkan dokumen requirement yang lengkap dan konsisten

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 15 Non-functional requirements l Mendefinisikan properti dan batasan sistem (misalnya reliability, response time dan storage requirements). Batasan dapt berupa kemampuan perangkat I/O, representasi sistem dan lain-lain l Process requirements may also be specified mandating a particular CASE system, programming language or development method l Non-functional requirements may be more critical than functional requirements. If these are not met, the system is useless

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 16 Non-functional classifications l Product requirements Requirements yang menentukan bahwa delivered product harus memenuhi syarat tertentu misal execution speed, reliability, dan lain- lain. l Organisational requirements Requirements yang terkait dengan konsekuensi kebijakan dan prosedur organisasi misalnya standar proses yang digunakan, implementasi requirements, dll. l External requirements Requirements yang muncul dari faktor-faktor external sistem dan proses pengembangan misalnya interoperability requirements, legislative requirements, dll.

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 17 Non-functional requirement types

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 18 Non-functional requirements examples l Product requirement It shall be possible for all necessary communication between the APSE and the user to be expressed in the standard Ada character set l Organisational requirement The system development process and deliverable documents shall conform to the process and deliverables defined in XYZCo-SP-STAN-95 l External requirement The system shall not disclose any personal information about customers apart from their name and reference number to the operators of the system

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 19 Goals and requirements l Non-functional requirements mungkin terlalu sulit untuk dinyatakan dengan tepat dan requirement yang salahpun kemungkinan sulit sekali untuk diverifikasi. l Goal A general intention of the user such as ease of use l Verifiable non-functional requirement Pernyataan yang menggunakan sejumlah ukuran yang dapat ditest secara obyektif l Goals are helpful to developers as they convey the intentions of the system users

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 20 Examples l A system goal The system should be easy to use by experienced controllers and should be organised in such a way that user errors are minimised. l A verifiable non-functional requirement Experienced controllers shall be able to use all the system functions after a total of two hours training. After this training, the average number of errors made by experienced users shall not exceed two per day.

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 21 Requirements measures

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 22 Requirements interaction l Conflicts between different non-functional requirements are common in complex systems l Spacecraft system To minimise weight, the number of separate chips in the system should be minimised To minimise power consumption, lower power chips should be used However, using low power chips may mean that more chips have to be used. Which is the most critical requirement?

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 23 Domain requirements l Derived from the application domain and describe system characterisics and features that reflect the domain l May be new functional requirements, constraints on existing requirements or define specific computations l If domain requirements are not satisfied, the system may be unworkable

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 24 Library system domain requirements l There shall be a standard user interface to all databases which shall be based on the Z39.50 standard. l Because of copyright restrictions, some documents must be deleted immediately on arrival. Depending on the user’s requirements, these documents will either be printed locally on the system server for manually forwarding to the user or routed to a network printer.

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 25 Train protection system l The deceleration of the train shall be computed as: D train = D control + D gradient where D gradient is 9.81ms 2 * compensated gradient/alpha and where the values of 9.81ms 2 /alpha are known for different types of train.

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 26 Domain requirements problems l Understandability Requirements are expressed in the language of the application domain This is often not understood by software engineers developing the system l Implicitness Domain specialists understand the area so well that they do not think of making the domain requirements explicit

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 27 User requirements l Mendeskripsikan functional dan non-functional requirements sehingga dapat dipahami oleh pengguna sistem yang tidak memiliki pengetahuan teknis lebih detail l User requirements are defined using natural language, tables and diagrams

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 28 Problems with natural language l Lack of clarity Precision is difficult without making the document difficult to read l Requirements confusion Functional and non-functional requirements tend to be mixed-up l Requirements amalgamation Several different requirements may be expressed together

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 29 Database requirement 4.A.5 The database shall support the generation and control of configuration objects; that is, objects which are themselves groupings of other objects in the database. The configuration control facilities shall allow access to the objects in a version group by the use of an incomplete name.

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 30 Editor grid requirement 2.6 Grid facilities To assist in the positioning of entities on a diagram, the user may turn on a grid in either centimetres or inches, via an option on the control panel. Initially, the grid is off. The grid may be turned on and off at any time during an editing session and can be toggled between inches and centimetres at any time. A grid option will be provided on the reduce-to-fit view but the number of grid lines shown will be reduced to avoid filling the smaller diagram with grid lines.

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 31 Requirement problems l Database requirements includes both conceptual and detailed information Describes the concept of configuration control facilities Includes the detail that objects may be accessed using an incomplete name l Grid requirement mixes three different kinds of requirement Conceptual functional requirement (the need for a grid) Non-functional requirement (grid units) Non-functional UI requirement (grid switching)

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 32 Structured presentation

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 33 Detailed user requirement

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 34 Guidelines for writing requirements l Tentukan format standar dan gunakanlah dalam pembuatan semua dokumen requirements l Gunakan bahasa yang konsisten. l Gunakan text highlighting untuk mengidentifikasi bagian2 kunci pada requirement l Hindari menggunakan jargon komputer

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 35 System requirements l Spesifikasi lebih rinci dari user requirements l Menjadi basis bagi proses perancangan sistem l Dapat juga digunakan sebagai bagian dari kontrak sistem l System requirements dapat diekspresikan melalaui sistem model

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 36 Requirements and design l Secara prinsip, requirements akan menyebutkan apa yang harus dikerjakan oleh sistem dan design akan mendeskripsikan bagaiamana hal itu dikerjakan l Secara praktis, requirements dan design tidak terpisahkan A system architecture may be designed to structure the requirements The system may inter-operate with other systems that generate design requirements The use of a specific design may be a domain requirement

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 37 Problems with NL specification l Ambiguity The readers and writers of the requirement must interpret the same words in the same way. NL is naturally ambiguous so this is very difficult l Over-flexibility The same thing may be said in a number of different ways in the specification l Lack of modularisation NL structures are inadequate to structure system requirements

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 38 Alternatives to NL specification

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 39 Structured language specifications l A limited form of natural language may be used to express requirements l This removes some of the problems resulting from ambiguity and flexibility and imposes a degree of uniformity on a specification l Often bast supported using a forms-based approach

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 40 Form-based specifications l Definition of the function or entity l Description of inputs and where they come from l Description of outputs and where they go to l Indication of other entities required l Pre and post conditions (if appropriate) l The side effects (if any)

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 41 Form-based node specification

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 42 PDL-based requirements definition l Requirements may be defined operationally using a language like a programming language but with more flexibility of expression l Most appropriate in two situations Where an operation is specified as a sequence of actions and the order is important When hardware and software interfaces have to be specified l Disadvantages are The PDL may not be sufficiently expressive to define domain concepts The specification will be taken as a design rather than a specification

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 43 Part of an ATM specification

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 44 PDL disadvantages l PDL may not be sufficiently expressive to express the system functionality in an understandable way l Notation is only understandable to people with programming language knowledge l The requirement may be taken as a design specification rather than a model to help understand the system

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 45 Interface specification l Most systems must operate with other systems and the operating interfaces must be specified as part of the requirements l Three types of interface may have to be defined Procedural interfaces Data structures that are exchanged Data representations l Formal notations are an effective technique for interface specification

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 46 PDL interface description

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 47 The requirements document l Document requirements adalah pernyataan resmi mengenai apa yang dibutuhkan oleh pengembang sistem l Harus menyertakan definisi dan spesifikasi requirements l Dokumen ini BUKAN lah dokumen desain. Semaksimal mungkin paparkan APA yang harusnya dilakukan oleh sistem bukannya BAGAIMANA sistem akan mengerjakan hal tersebut

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 48 Requirements document requirements l Specify external system behaviour l Specify implementation constraints l Easy to change l Serve as reference tool for maintenance l Record forethought about the life cycle of the system i.e. predict changes l Characterise responses to unexpected events

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 49 IEEE requirements standard l Introduction l General description l Specific requirements l Appendices l Index l This is a generic structure that must be instantiated for specific systems

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 50 Requirements document structure l Introduction l Glossary l User requirements definition l System architecture l System requirements specification l System models l System evolution l Appendices l Index

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 51 Key points l Requirements berisi tentang apa yang dikerjakan sistem dan mendefiniskan batasan operasi dan implementasinya l Functional requirements merupakan produk/layanan yang disediakan oleh sistem l Non-functional requirements membatasi sistem yang sedang dikembangkan dan proses pengembangannya l User requirements adalah pernyataan umum tentang apa yang akan dikerjakan sistem

©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 5 Slide 52 Key points l User requirements ditulis dalam bahasa natural, tabel dan diagram l System requirements dimaksudkan untuk mengkomunikasikan fungsi-fungsi yang disediakan oleh sistem l System requirements dapat ditulis dalam bahasa natural terstruktur, PDL atau dalam bahasa formal l Software requirements document adalah pernyataan kesepakatan tentang kebutuhan sistem