190 likes | 368 Views
Approaches to Requierements Engineering. Reference: Systems Analysis and Design in a Changing World, 3 rd Edition, chapter 2 and chapter 6. Overview. Systems development life cycle (SDLC) Provides overall framework for managing system development process Two main approaches to SDLC
E N D
Approaches to Requierements Engineering Reference: Systems Analysis and Design in a Changing World, 3rd Edition, chapter 2 and chapter 6
Overview • Systems development life cycle (SDLC) • Provides overall framework for managing system development process • Two main approaches to SDLC • Traditional approach: structured systems development and information engineering • Object-oriented approach: object technologies requires different approach to analysis, design, and programming • All projects use some variation of SDLC Systems Analysis and Design in a Changing World, 3rd Edition
Traditional and Object-Oriented Views of Activities Systems Analysis and Design in a Changing World, 3rd Edition
Requirements Models for the Traditional and OO Approaches Systems Analysis and Design in a Changing World, 3rd Edition
Structured Analysis • Define what system needs to do (processing requirements) • Define data system needs to store and use (data requirements) • Define inputs and outputs • Define how functions work together to accomplish tasks • Data flow diagrams and entity relationship diagrams show results of structured analysis Systems Analysis and Design in a Changing World, 3rd Edition
Context Diagrams • DFD that summarizes all processing activity • Highest level (most abstract) view of system • Shows system boundaries • System scope is represented by a single process, external agents, and all data flows into and out of the system Systems Analysis and Design in a Changing World, 3rd Edition
Context Diagram for RMO Order-Entry Subsystem Systems Analysis and Design in a Changing World, 3rd Edition
Data Flow Diagrams • Graphical system model that shows all main requirements for an IS in one diagram • Inputs / outputs • Processes • Data storage • Easy to read and understand with minimal training Systems Analysis and Design in a Changing World, 3rd Edition
DFD Fragment from the RMO Case Systems Analysis and Design in a Changing World, 3rd Edition
Data Flow Diagram (DFD) created using Structured Analysis Technique Systems Analysis and Design in a Changing World, 3rd Edition
Data Flow Diagram Symbols Systems Analysis and Design in a Changing World, 3rd Edition
Entity-Relationship Diagram (ERD) created using the Structured Analysis technique Systems Analysis and Design in a Changing World, 3rd Edition
Structured Analysis Leads to Structured Design and Structured Programming Systems Analysis and Design in a Changing World, 3rd Edition
Object-Oriented Approach • Views information system as collection of interacting objects that work together to accomplish tasks • Objects - things in computer system that can respond to messages • No processes, programs, data entities, or files are defined – just objects • Object-oriented analysis (OOA) • Defines types of objects that do work of system • Shows how objects interact with users to complete tasks Systems Analysis and Design in a Changing World, 3rd Edition
Object-Oriented Approach to Systems Systems Analysis and Design in a Changing World, 3rd Edition
Object-Oriented Approach (continued) • Object-oriented design (OOD) • Defines object types needed to communicate with people and devices in system • Shows how objects interact to complete tasks • Refines each type of object for implementation with specific language of environment • Object-oriented programming (OOP) • Writing statements in programming language to define what each type of object does • Benefits of OOA include naturalness and reuse Systems Analysis and Design in a Changing World, 3rd Edition
Class Diagram Created During OO Analysis Systems Analysis and Design in a Changing World, 3rd Edition
Summary (continued) • System development methodologies are based on traditional approach or object-oriented approach • System development methodology provides guidelines to complete every activity in the SDLC Systems Analysis and Design in a Changing World, 3rd Edition
Summary • Data flow diagrams (DFDs) used in combination with event table and entity-relationship diagram (ERD) to model system requirements IN TRADITIONAL APPROACH TO REQUIREMENS • DFDs model system as set of processes, data flows, external agents, and data stores • DFDs easy to read - graphically represent key features of system using small set of symbols • Many types of DFDs: context diagrams, DFD fragments, subsystem DFDs, event-partitioned DFDs, and process decomposition DFDs Systems Analysis and Design in a Changing World, 3rd Edition