CS48704-1/31 Illinois Institute of Technology CS487 Software Engineering Analysis Modeling Instructor David Lash.

Slides:



Advertisements
Similar presentations
Object-Oriented Software Engineering Visual OO Analysis and Design
Advertisements

Chapters 7 & 9 System Scope
Chapter : Analysis Modeling
Analysis Modeling.
Introduction to Databases
Chapter 4 Enterprise Modeling.
Copyright © 2015 Pearson Education, Inc. Database Design Chapters 17 and
Chapter 8 Analysis Engineering Software Engineering: A Practitioner’s Approach by Roger S. Pressman.
Software Requirements Engineering Elaboration Process Lecture-13.
Systems Development Life Cycle
1 SWE Introduction to Software Engineering Lecture 16 – System Modeling An Example.
Database Management An Introduction.
Analysis Modeling Over view of today’s lesson T he analysis model is the first technical representation of a system. Analysis modeling uses a combination.
Analysis Modeling Instructor: Dr. Jerry Gao. Analysis Modeling Jerry Gao, Ph.D. Jan Elements of the analysis model - Data modeling - Functional.
Review Questions What is data modeling? What is the actual data model that is created called? Data modeling is a technique for organizing and documenting.
Requirements Analysis Concepts & Principles
TCS2411 Software Engineering1 Software Requirements Analysis “What does the customer want?”
1 The Accounting REA Model as an Information Engineering Interaction Model Slides 5.
CS /47 Illinois Institute of Technology CS487 Software Engineering Requirements II- part B Instructor David Lash.
Systems Analysis I Data Flow Diagrams
Analysis Modeling Two primary methods today
Monitoring systems COMET types MS55 & MS6 MS55/MS6 Configuration.
APPENDIX C DESIGNING DATABASES
Data Modeling 1 Yong Choi School of Business CSUB.
Entity-Relationship Design
 An entity-relationship (ER) diagram is a specialized graphic that illustrates the interrelationships between entities in a database.  An Entity Relationship.
Analysis Modeling (cont’d) CpSc 372: Introduction to Software Engineering Jason O. Hallstrom Authorship Disclaimer. These slides.
Database Design Using the REA Data Model
Systems Analysis and Design in a Changing World, Fifth Edition
1 Chapter 2 Revision: Documentation DFD System FC.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
Data Flow Diagrams.
Data Modelling – ERD Entity Relationship Diagram’s Entity Relationship Diagrams and how to create them. 1.
DATABASEMODELSDATABASEMODELS  A database model ◦ defines the logical design of data. ◦ Describes the relationships between different parts of data.
SOFTWARE DESIGN.
Intro to Software System Modeling
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, modified by Dr. Lyn Mathis 5-1 David M. Kroenke’s, 10 th ed. Chapter.
Developed by Reneta Barneva, SUNY Fredonia for CSIT 425 Requirements Modeling.
Chapter 8 Analysis & Modeling. Data Modeling examines data objects independently of processing focuses attention on the data domain creates a model at.
Class-based Modeling.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 24. Review ANALYSIS Level Class Diagram – Identifying Entities – Identifying Attributes – Identifying Operations.
Object Oriented Analysis
5 Systems Analysis and Design in a Changing World, Fifth Edition.
INTRODUCTION TO SOFTWARE ENGINEERING Authors: William M. Buchanan Joseph Picone Contact Information: ECE 4512 / 4522 Box 9571 Mississippi State University.
IFS310: Module 6 3/1/2007 Data Modeling and Entity-Relationship Diagrams.
Chapter 12 Analysis Modeling
CMPS 435 F08 These slides are designed to accompany Web Engineering: A Practitioner’s Approach (McGraw-Hill 2008) by Roger Pressman and David Lowe, copyright.
Database Design – Lecture 4 Conceptual Data Modeling.
UML Examples PRESETED BY: MEHRAN NAJAFI SHIMA AGHTAR.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
Information Access Mgt09/12/971 Entity-Relationship Design Information Level Design.
Software Engineering Lecture 11: System Analysis.
Chapter 12 Analysis Modeling. Analysis Modeling ä Two primary methods today ä Structured Analysis ä Object-oriented analysis ä Some important considerations.
Lecture 91 Introduction to Data Analysis and Logic Specification Objectives l Draw an entity-relationship diagram, and explain the types of entity relationships.
Building analysis model  Analysis modeling uses a combination of text and diagrammatic forms to depict requirements for data function and behavior in.
2 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Data Models Why data models are important About the basic data-modeling.
DBS201: Data Modeling. Agenda Data Modeling Types of Models Entity Relationship Model.
Architectural Complexity  A useful technique for assessing the overall complexity of a proposed architecture is to consider dependencies between components.
CS646: Software Design and Architectures Design methods: SSA/SD †  Stands for: Structured Systems Analysis / Structured Design.  Primary applicable notations:
Course Instructor: Kashif I hsan 1. Chapter # 6 2.
1 Use Cases Object-Oriented Modeling and Design with UML (Second Edition) Blaha & Rumbaugh Sections 7.1, 8.1.
Elements Of Modeling. 1.Data Modeling  Data modeling answers a set of specific questions that are relevant to any data processing application. e.g. ◦
Chapter 8 Analysis Engineering
Elaboration Process Lecture-16.
Chapter 8 Building the Analysis Model (2) Analysis Modeling
Data Dictionaries ER Diagram.
CS 174: Server-Side Web Programming February 12 Class Meeting
Chapter 12 Analysis Modeling
Software Modelling and Design
Presentation transcript:

CS /31 Illinois Institute of Technology CS487 Software Engineering Analysis Modeling Instructor David Lash

CS /31 Illinois Institute of Technology This level of modeling is the very highest level. The basic input-processing-output template.

CS /31 Modeling

CS /31 High-Level Modeling Tools u System Modeling – System Context Diagram – Partitioning u Data Modeling – Entity-Relation - Data objects and their relationships u Information flow diagrams – Data flow diagrams - how data transforms in system- how functions transform data u Control Specifications – State diagrams - how system behaves as result of external events.

CS /31 System Context Diagrams u Basic Version Of Diagram would be u Input -> Processing -> Output u Extend to include u User Interface, Input, System Functions and control, output and maintenance u Format for creating hierarchy of detail u Enable to define boundaries between the “software” and the operating (external) environment.

CS /31 System Context Diagram

CS /31 System Context Diagrams u Consider Conveyor Line Sorting System – CLSS developed such that boxes moving along a conveyor belt will be Identified and sorting into 1 of 6 bins at the end of the line. – Boxes pass a sorting stations where they are identifies – Based on ID number of the side, the boxes are shunted into the correct bin – Boxes pass in random order and evenly spaced. The line moves slowly.

CS /31 System Context Diagrams - CLSS u Consider Conveyor Line Sorting System - II – Has a PC sorting stn site. Boxes moving along conveyor belt identified and stored into 1 of 6 boxes at end of line. Boxes have bar code on side. – PC execs software, interacts with bar code rdr and conveyor line monitoring equipment (to get speed of line) – stores parts numbers sorted and interacts with operator – sends signals to shunting hardware – sends out reports and communicates with server in factory floor. (pg 265)

CS /31 Initial System Context Diagram

CS /31 Refine Into a System Flow Diagram u Page 265 shows refined diagram – Look at important lines of data and control flow. – Might be the top level of a series of SFDs that are later developed (See page 266.

CS /31 High-Level Modeling Tools u System Modeling – System Context Diagram – Partitioning u Data Modeling – Entity-Relation - Data objects and their relationships u Information flow diagrams – Data flow diagrams - how data transforms in system- how functions transform data u Control Specifications – State diagrams - how system behaves as result of external events.

CS /31 Partitioning u A straightforward way to break-down a complex system (divide and conquer) – decompose system into parts u create a hierarchical representation of function/information by – More detail by moving vertically – functional decomposition horizontally

CS /31 Partitioning - Home Safe u Specification From Requirements gathering (interview) – HS monitors sensors, interacts with owner via keypad (via control pad) – Control pad can be program and config system – Master passwd is programmed for arming and alarming system. Phone numbers are input for dialing out for help. – When sensor event, alarm then after T time, dial phone number and downloads event info (sensor, time, type of event). Repeat every 20 seconds

CS /31 Partitioning - Example

CS /31 Partitioning - continue example

CS /31 High-Level Modeling Tools u System Modeling – System Context Diagram – Partitioning u Data Modeling - (See page 301 diag) – Entity-Relation - Data objects and their relationships u Information flow diagrams – Data flow diagrams - how data transforms in system- how functions transform data u Control Specifications – State diagrams - how system behaves as result of external events.

CS /31 Data Modeling u DM answers questions like: – What are data objects in the system – What are the Data Objects made of – How are they related u One common method is the ERD - Has the following pieces: – Data Object: representation of something with attributes E.g., Width (1 property) VS dimension (HGt, width) – Relationship: The nature of the connection between data Objects.. – Attributes: properties that describe the object

CS /31 Data Modeling - Data Objects u Data Object - representation of object with multiple properties that software deals with: – width VS Dimension – car (color, engine, body style) – Dashboard u DO can be – something producing information (e.g., report) – occurrence - phone call, event – role - salesperson, manager, engineer – place - warehouse, house, Chicago, – physical thing - car, saw, airplane, – structure - directory, file, u DO in system have some relationship – CAR has an ENGINE

CS /31 Data Modeling - Attributes u Attributes - define the properties of the DO They can: – name an instance of the DO – describe the instance – point to another table – 1 or more attributes become the key or identifier. – Attributes that are used depend on the problem. Make MODEL ID# BodyTYPE COLOR OWNER Lexus LS400 AB123 Sedan Blue DAL Chevy Vette XYZ1 Sports RED ABC - ID# is a key or identifier - OWNER is points or refers to another DO - others are naming and descriptive attributes - An instance is 1 row e.g., lexus - DO is CARS

CS /31 Data Modeling - Relationships u Relationships - define how DO are connected: – DO1 - books DO2 - bookstore – Within the software u bookstore orders books u bookstore displays books u book stores stocks books u bookstore sells books u bookstore returns books

CS /31 Data Modeling - Relationships Example

CS /31 Data Modeling - Relationships (Cardinatlity) u Just saying DO1 related to DO2 need more info – How many DO1 are related to DO2? u Relationships have characteristics: – Cardinality – The number of occurrences that that 1 DO can be related to another: - one-to-one (e.g., husband only 1 wife) - one-to-many. (e.g., mother many Children) –Child to have 1 mother - many-to-many (e.g., uncle many nephews, Nephew many uncles) - Defines the maximum number of DO in a relationship. - Does not indicate if a particular instance must participate

CS /31 Data Modeling - Relationships - Modality u Modality – How required is the relation. – 0 – when no explicit need for relationship to occur – 1 – when an occurrence is mandatory

CS /31 ERD u Cornerstone of the Data Model u Diagram the DO, Relationships and attributes

CS /31 Example of Modality and Carnality

CS /31 Example of ERD

CS /31 ERD II example - Homesafe u Enables homeowner (HW) to config security system (SS), during install u HS monitors all sensors connected to SS u HS interacts with HW via Keypad on cntl panel (CP) u CP is used to program system u Each sensor (SEN) is assigned a # and type u A master passwd is programmed, Tel number are input for dialing on Sensor event (SEN) u on SEN event, alarm invoked & SS dials phone number, and gives info to (MS) monitoring Service u CP has keyboard input stuff

CS /31 ERD II example - Homesafe (Basic Relations)

CS /31 ERD II example - Derived Relationships u SS monitors sensor u SS enables/disables sensor u SS tests sensor u SS program sensor u Attributes of Sensor has type, internal id, zone location, alarm level

CS /31 ERD II example - Homesafe

CS /31 High-Level Modeling Tools u System Modeling – System Context Diagram – Partitioning u Data Modeling – Entity-Relation - Data objects and their relationships u Information flow diagrams – Data flow diagrams - how data transforms in system- how functions transform data u Control Specifications – State diagrams - how system behaves as result of external events.