Technical Methods for Specifying Requirements

Slides:



Advertisements
Similar presentations
Describing Process Specifications and Structured Decisions Systems Analysis and Design, 7e Kendall & Kendall 9 © 2008 Pearson Prentice Hall.
Advertisements

Requirements Analysis and Design Engineering
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
Algorithms and Problem Solving
Computer Programming Rattapoom Waranusast Department of Electrical and Computer Engineering Faculty of Engineering, Naresuan University.
Ambiguity and Specificity Sriram Mohan/ Steve Chenoweth Chapters 23, 24 - Requirements Text 1.
System Concepts for Process Modeling  Process Concepts  Process Logic  Decomposition diagrams and data flow diagrams will prove very effective tools.
PROCESS MODELING Transform Description. A model is a representation of reality. Just as a picture is worth a thousand words, most models are pictorial.
Unit 171 Algorithms and Problem Solving  Introduction  Algorithm Design  Algorithm Properties  Algorithm Control Flow  Examples  Comparing Algorithms.
Kendall & KendallCopyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 9 Kendall & Kendall Systems Analysis and Design, 9e Process Specifications.
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.
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.
S R S S ystem R equirements S pecification Specifying the Specifications.
Kendall & KendallCopyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 9 Kendall & Kendall Systems Analysis and Design, 9e Process Specifications.
An ordered sequence of unambiguous and well-defined instructions that performs some task and halts in finite time Let's examine the four parts of this.
Week 5: Business Processes and Process Modeling MIS 2101: Management Information Systems.
Data Structures & AlgorithmsIT 0501 Algorithm Analysis I.
Chapter 11 Describing Process Specifications and Structured Decisions Systems Analysis and Design Kendall and Kendall Fifth Edition.
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
1 An Introduction to Formal Languages and Automata Provided by : Babak Salimi webAdd:
Describing Process Specifications and Structured Decisions Systems Analysis and Design, 7e Kendall & Kendall 9 © 2008 Pearson Prentice Hall.
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.
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.
4. The process specification (プロセス仕様) You will learn: (次の内容を学び) The concept of process specification (プロセス 仕様の概念) Notations for process specification (プロセス.
Algorithms & Flowchart
UML’s StateChart FSM, EFSM in UML Concurrent states Tool support.
Lecture 9-1 : Intro. to UML (Unified Modeling Language)
Technical Methods for Specifying Requirements 1. When to Use Technical Methods  If the description of the requirement is too complex for natural language.
Dr Nick Mitchell (Room CM 224)
System Requirements Specification
WHAT IS THIS? Clue…it’s a drink SIMPLE SEQUENCE CONTROL STRUCTURE Introduction A computer is an extremely powerful, fast machine. In less than a second,
CMPSC 16 Problem Solving with Computers I Spring 2014 Instructor: Tevfik Bultan Lecture 4: Introduction to C: Control Flow.
Algorithms and Pseudocode
ALGORITHMS AND FLOWCHARTS. Why Algorithm is needed? 2 Computer Program ? Set of instructions to perform some specific task Is Program itself a Software.
HNC Flow Chart 1 IT Systems Analysis and Design SSADM – Design.
Copyright © 2011 Pearson Education Process Specifications and Structured Decisions Systems Analysis and Design, 8e Kendall & Kendall Global Edition 9.
Fundamentals of Algorithms MCS - 2 Lecture # 3. Representation of Algorithms.
4 - Conditional Control Structures CHAPTER 4. Introduction A Program is usually not limited to a linear sequence of instructions. In real life, a programme.
Victoria Ibarra Mat:  Generally, Computer hardware is divided into four main functional areas. These are:  Input devices Input devices  Output.
I&C Lab Seminar Procedure for the Software Requirements Specification for Safety Critical Systems Seo Ryong Koo Korea Advanced Institute Science.
Collision Theory and Logic
On Ambiguity and Specificity
Analysis Classes Unit 5.
Software Engineering Lecture 4 System Modeling The Analysis Stage.
IT316 Software Requirement Engineering
The Movement To Objects
Finite State Machines Dr K R Bond 2009
Collision Theory and Logic
ALGORITHMS AND FLOWCHARTS
PROGRAM CONTROL STRUCTURE
SOFTWARE REQUIREMENTS ENGINEERING
Chapter 2 : Data Flow Diagram
Lecture 2 Introduction to Programming
Introduction To Flowcharting
Introduction to Computer Programming
UML’s StateChart FSM, EFSM in UML Concurrent states Tool support.
System Requirements Specification
PROBLEM SOLVING SKILLS
Introduction to pseudocode
Logic Modeling Logic and timing are not represented on data flow diagrams or entity-relationship diagrams Processes contain logic - what happens under.
Requirements Management
Ambiguity and Specificity
Algorithms and Problem Solving
Chapter 11 Describing Process Specifications and Structured Decisions
Members: Keshava Shiva Sanjeeve Kareena
Information system analysis and design
Presentation transcript:

Technical Methods for Specifying Requirements

Technical Methods for Specifying Requirements Pseudo-code Finite state machines Decision tables and decision trees Activity diagrams (flowcharts) Entity-relationship models

Introduction  There are cases in which the ambiguity of natural language is simply not tolerable Examples: when the requirements deal with life-and-death issues or when the erroneous behavior of a system could have extreme financial or legal consequences. 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.

Technical Specification Methods Pseudo-code Finite state machines Decision tables and decision trees Activity diagrams (flowcharts) Entity-relationship models …

Pseudo-code Pseudo-code is a "quasi" programming language An attempt to combine the informality of natural language with the strict syntax and control structures of a programming language. It usually consists of combinations of: Imperative sentences with a single verb and a single object A limited set, typically not more than 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

Example of Pseudo-code A pseudo-code specification of an 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

Finite State Machines Example of a state transition diagram The natural language expression "the other light shall flash every 1 second" was ambiguous.   The above state transition diagram is not ambiguous since it illustrates that duty cycle B was indeed the right choice. 

Finite State Machines  Example of a State Transition Matrix for an On/Off Counting Device: What happens if the user presses the On switch and the device is already on? Answer: Nothing.  What happens if both bulbs are burned out? Answer: The device powers itself off.  

Decision Tables and Decision Trees It's common to see a requirement that deals with a combination of inputs; different combinations of those inputs lead to different behaviors or outputs.

Activity Diagrams  An activity diagram is essentially a flowchart, showing flow of control from activity to activity.

Entity-Relationship Models If the requirements within a set involve a description of the structure and relationships among data within the system, it's often convenient to represent that information in an entity-relationship diagram (ERD).

Key Points  Technical methods for specifying requirements are appropriate when the requirement description is too complex for natural language or if you cannot afford to have the specification misunderstood. Technical methods include pseudo-code, finite state machines, decision trees, activity diagrams, entity-relationship models, and many others.