Technical Methods for Specifying Requirements 1. When to Use Technical Methods  If the description of the requirement is too complex for natural language.

Slides:



Advertisements
Similar presentations
Use Case Diagrams Damian Gordon.
Advertisements

IT Requirements Capture Process. Motivation for this seminar Discovering system requirements is hard. Formally testing use case conformance is hard. We.
Requirements Analysis and Design Engineering
Traditional Approach to Design
Chapter 10 The Traditional Approach to Design
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Chapter 9: The Traditional Approach to Design Chapter 10 Systems Analysis and Design in a Changing World, 3 rd Edition.
Ambiguity and Specificity Sriram Mohan/ Steve Chenoweth Chapters 23, 24 - Requirements Text 1.
MIS 210 Fall 2004Sylnovie Merchant, Ph. D. Lecture 4: Data Modeling Process Modeling MIS 210 Information Systems I.
Chapter 10 System Sequence Diagrams. What is a System Sequence Diagram? A way of modeling input and output events related to systems It is a picture that.
Data Flow Diagramming. Data Flow Diagrams Data Flow Diagrams are a means to represent data transformation processes within an information system.
1 PROCESS SPECIFICATIONS for DFDs Concepts and Examples.
1 Chapter 16 Component-Level Design. 2 Component-Level Design  the closest design activity to coding  the approach:  review the design description.
IELM 511: Information System design
Recall The Team Skills 1. Analyzing the Problem (with 5 steps) 2. Understanding User and Stakeholder Needs 3. Defining the System 4. Managing Scope 5.
UML Sequence Diagrams Eileen Kraemer CSE 335 Michigan State University.
Systems Analysis and Design in a Changing World, 6th Edition
1 PROCESS SPECIFICATIONS for DFDs Concepts and Examples.
CS CS 5150 Software Engineering Lecture 10 Requirements 3.
ALGORITHMS AND FLOW CHARTS 1 Adapted from the slides Prepared by Department of Preparatory year Prepared by: lec. Ghader Kurdi.
© Copyright 1992–2005 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Tutorial 6 – Car Payment Calculator Application: Introducing.
UML Sequence Diagrams Michael L. Collard, Ph.D. Department of Computer Science Kent State University.
System Analysis Overview Document functional requirements by creating models Two concepts help identify functional requirements in the traditional approach.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 9 Car Payment Calculator Application Introducing the Do While...Loop and Do Until...Loop.
PROCESS MODELING Chapter 8 - Process Modeling
Systems Analysis and Design in a Changing World, Tuesday, Feb 27
PYTHON PROGRAMMING Week 10 – Wednesday. TERMS – CHAPTER 1 Write down definitions for these terms:  Computation  Computability  Computing  Artificial.
Data Structures & AlgorithmsIT 0501 Algorithm Analysis I.
CS 360 Lecture 6.  A model is a simplification of reality  We build models to better understand the system being developed.  We build models of complex.
Ambiguity and Specificity Steve Chenoweth & Chandan Rupakheti Chapters 23, 24 - Requirements Text Questions 1, 2 Image from
10 ITK261 The traditional approach to design Reading: Chapter 10 Oct 9, 11.
1 Text Layout Introduction (1-4) Team Skill 1 – Analyzing the problem (5-7) Team Skill 2 – Understanding User and Stakeholder Needs (8-13) Team Skill 3.
© 2011 Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Stewart Venit ~ Elizabeth Drake Developing a Program.
Procedures for managing workflow components Workflow components: A workflow can usually be described using formal or informal flow diagramming techniques,
Black Box Testing Techniques Chapter 7. Black Box Testing Techniques Prepared by: Kris C. Calpotura, CoE, MSME, MIT  Introduction Introduction  Equivalence.
CSC 395 – Software Engineering Lecture 28: Classical Analysis -or- Do You Really Want to Do That?
Algorithms & Flowchart
9-1 © Prentice Hall, 2007 Chapter 9: Analysis Classes Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey.
Use Case Driven Analysis Requirements Use Case Use Case Description System Sequence Diagram Chapter 5.
Software Requirements: A More Rigorous Look 1. Features and Use Cases at a High Level of Abstraction  Helps to better understand the main characteristics.
PROGRAM DEVELOPMENT CYCLE. Problem Statement: Problem Statement help diagnose the situation so that your focus is on the problem, helpful tools at this.
UML’s StateChart FSM, EFSM in UML Concurrent states Tool support.
Week 7 - Systems Engineering and Analysis
Lecture 9-1 : Intro. to UML (Unified Modeling Language)
1 Chapter 16 Component-Level Design. 2 Component-Level Design  the closest design activity to coding  the approach: review the design description for.
Lecture 91 Introduction to Data Analysis and Logic Specification Objectives l Draw an entity-relationship diagram, and explain the types of entity relationships.
7-1 © Prentice Hall, 2007 Topic 7: Analysis Classes Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey.
21/1/ Analysis - Model of real-world situation - What ? System Design - Overall architecture (sub-systems) Object Design - Refinement of Design.
ALGORITHMS AND FLOWCHARTS. Why Algorithm is needed? 2 Computer Program ? Set of instructions to perform some specific task Is Program itself a Software.
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.
Victoria Ibarra Mat:  Generally, Computer hardware is divided into four main functional areas. These are:  Input devices Input devices  Output.
Algorithms and Flowcharts
I&C Lab Seminar Procedure for the Software Requirements Specification for Safety Critical Systems Seo Ryong Koo Korea Advanced Institute Science.
Systems Analysis and Design in a Changing World, Fourth Edition
From requirements to specification Specification is a refinement of requirements Can be included together as Software Requirements Specifications (SRS)
CompSci 280 S Introduction to Software Development
Analysis Classes Unit 5.
Technical Methods for Specifying Requirements
IT316 Software Requirement Engineering
Unified Modeling Language
ALGORITHMS AND FLOWCHARTS
System Design.
PROGRAM CONTROL STRUCTURE
SOFTWARE REQUIREMENTS ENGINEERING
Chapter 2 : Data Flow Diagram
Introduction to Computer Programming
UML’s StateChart FSM, EFSM in UML Concurrent states Tool support.
MSIS 655 Advanced Business Applications Programming
Dynamic Modeling Lecture # 37.
Ambiguity and Specificity
Presentation transcript:

Technical Methods for Specifying Requirements 1

When to Use Technical Methods  If the description of the requirement is too complex for natural language and if you cannot afford to have the specification misunderstood, you should consider writing or augmenting that portion of the requirements set with a “technical methods” approach. 2

Examples of Technical Methods  Pseudocode  Finite state machines  Decision tables and decision trees  Activity diagrams (flowcharts)  Entity-relationship models  And many more 3

Pseudocode  Imperative sentences with a single verb and a single object.  A limited set, typically not more that 40-50, of “action-oriented” verbs from which the sentences must be constructed.  Decisions represented with a formal IF-ELSE- ENDIF structure.  Iterative activities represented with DO-WHILE or FOR-NEXT structures. 4

Pseudocode Example The algorithm for calculating deferred-service revenue earned for any month is: Set Sum(x)=0 FOR each customer x IF customer purchased paid support AND (Current month) >= (2 months after ship date)) AND (Current month) <= (14 months after ship date)) THEN Sum(x)=Sum(x) + (amount customer paid)/12 END 5

Finite State Machines  Sometimes it is convenient to regard the system as a hypothetical machine that can be in only one of a given number of states at any specific time.  In response to an input (from the user or an external source) the machine changes state and carries out some action and/or generates an output.  Both the output and the next state can be determined solely based on understanding the current state and the event that caused the transition. 6

Example of a State Transition Diagram 7 Even Lit Odd Lit Count Even Lit/ LOUT Odd Lit/ LOUT OFF Light burned out 1 sec Off On Off

Example of a State Transition Matrix Event StateOn Press Off Press Count Press Bulb Burns Out Every Second Output OffEven lit--- Both Off Even lit---OffOdd litLO/ Even lit ---Even lit Odd lit---OffEven litLO/ Odd lit ---Odd lit Light out/ Even lit ---Off---OffLO/ Odd lit Even lit Light out/ Odd lit ---Off---OffLO/ Even lit Odd lit 8

Decision Tables and Decision Trees  When a requirement deals with a combination of inputs and different combinations of those inputs lead to different behaviors or outputs, decision tables or decision trees can be helpful. 9

Activity Diagrams  Flowcharts and UML Activity Diagrams are understandable by most people.  They present the same information that can be given in pseudo code, but they show it visually. 10

Entity-Relationship Diagrams  They are useful for showing the relationships among data within the system.  ERDs focus on the external behaviors of the system.  They can be difficult for nontechnical readers to understand. 11